aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorMarvin Borner2023-06-17 17:04:41 +0200
committerMarvin Borner2023-06-17 17:12:03 +0200
commitfb588483addb542240935b30555dedf199ff5df3 (patch)
tree6a9ef443f967a1d41f27d1410856d4f680f62024 /makefile
parent075378188e117b13d03b39b2f43726ab0a928d62 (diff)
Added optimizerHEADmain
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/makefile b/makefile
index a2bec28..04b17c8 100644
--- a/makefile
+++ b/makefile
@@ -1,11 +1,11 @@
all: asm
asm:
- @nasm -f elf64 -o sort.o sort.asm
- @nasm -f elf64 -o data.o data.asm
- @gcc -no-pie -o sort data.o sort.o
+ @nasm -O3 -f elf64 -o sort.o sort.asm
+ @nasm -O3 -f elf64 -o data.o data.asm
+ @gcc -O3 -no-pie -o sort data.o sort.o
c:
- @nasm -f elf64 -o data.o data.asm
- @gcc -no-pie -c -o csort.o benchmark/sort.c
- @gcc -no-pie -o csort data.o csort.o
+ @nasm -O3 -f elf64 -o data.o data.asm
+ @gcc -O3 -no-pie -c -o csort.o benchmark/sort.c -Wno-pointer-to-int-cast
+ @gcc -O3 -no-pie -o csort data.o csort.o