summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0d388d7..d77d86d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
CC=gcc
-CFLAGS=-O3 -march=k8 -msse3 -ftree-vectorize -funroll-loops -pipe -static -Wunused
+CFLAGS=-O3 -march=k8 -msse3 -ftree-vectorize -funroll-loops -pipe -static -Wunused -Wextra -Wall -pedantic
#CC=icc
#CFLAGS=-O3 -ipo -xP -gcc -static
-LINKFLAGS=
+LIBS=-lm
OBJS=emfloat.o randnum.o hardware.o cleanbench.o numsort.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o
-all: ${OBJS}
- $(CC) ${OBJS} -o cleanbench -lm
+all: $(OBJS)
+ $(CC) $(OBJS) -o cleanbench $(LIBS)
clean:
/bin/rm -f *.o cleanbench sysinfo.c