diff options
-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 |