diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-14 16:08:56 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-14 16:08:56 +0000 |
commit | 85ee0ac91540be34e55f05c0b03757d6a5e3da59 (patch) | |
tree | 7728ef0040920dd0a18c746682ea80a59ee5c56b | |
parent | 72461d67f64bb7c0738ccff003b66285885895dc (diff) |
Fix Makefile
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@35 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
-rw-r--r-- | Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -1,9 +1,21 @@ ICC=icc GCC=gcc -GCCFLAGS=-O3 -march=k8 -msse3 -ftree-vectorize -funroll-loops -pipe -static +GCCFLAGS=-O3 -march=k8 -msse3 -ftree-vectorize -funroll-loops -pipe -static -Wunused ICCFLAGS=-O2 -ip -xP -gcc -static LINKFLAGS= +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} + $(GCC) ${OBJS} -o cleanbench -lm + +clean: + - /bin/rm -f *.o cleanbench sysinfo.c sysinfoc.c + +remake: clean all + +# Source files + sysinfoc.c: Makefile ./sysinfo.sh $(GCC) $(GCCFLAGS) @@ -51,11 +63,3 @@ neural.o: neural.c linear.o: linear.c $(GCC) $(GCCFLAGS) -c linear.c - -default: emfloat.o randnum.o cleanbench.o numsort.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o - $(GCC) emfloat.o randnum.o cleanbench.o numsort.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o -o cleanbench -lm - -clean: - - /bin/rm -f *.o cleanbench sysinfo.c sysinfoc.c - -remake: clean default |