summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-16 03:13:38 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-16 03:13:38 +0000
commit1df846b3f94aa7ca9a6622577c367c864131bd04 (patch)
tree4ada2450229a22d5d3d0a2a67d780ffcc7bd0e27 /Makefile
parent761470f9b51f2df8d25baf6060a7acfd333ba698 (diff)
Fix ansi/pedantic warnings
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@65 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
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