aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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