summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index ee47615..bb3cbc6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,3 @@
-default: nbench
-
ICC=icc
GCC=gcc
GCCFLAGS=-O3 -march=k8 -msse3 -ftree-vectorize -funroll-loops -pipe -static
@@ -15,8 +13,8 @@ sysinfo.c: Makefile
hardware.o: hardware.c hardware.h Makefile
$(GCC) $(GCCFLAGS) -c hardware.c
-nbench0.o: nbench0.h nbench0.c nmglobal.h hardware.h Makefile sysinfo.c sysinfoc.c
- $(GCC) $(GCCFLAGS) -c nbench0.c
+cleanbench.o: cleanbench.h cleanbench.c nmglobal.h hardware.h Makefile sysinfo.c sysinfoc.c
+ $(GCC) $(GCCFLAGS) -c cleanbench.c
emfloat.o: emfloat.h emfloat.c nmglobal.h Makefile
$(GCC) $(GCCFLAGS) -c emfloat.c
@@ -54,10 +52,10 @@ neural.o: neural.c
linear.o: linear.c
$(GCC) $(GCCFLAGS) -c linear.c
-nbench: emfloat.o randnum.o nbench0.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 nbench0.o numsort.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o -o nbench -lm
+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 nbench sysinfo.c sysinfoc.c
+ - /bin/rm -f *.o cleanbench sysinfo.c sysinfoc.c
-remake: clean nbench
+remake: clean default