diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-14 04:56:19 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-14 04:56:19 +0000 |
commit | fdb0f96aa0254eb5864d34fb3ae734e178935a3f (patch) | |
tree | 14e73a2b856f9d9771e4dca1dcb8b11083e1fb88 /Makefile | |
parent | f067d71ef7e5bc4e670641b0499f82384f95b764 (diff) |
-- Rename nbench0.{c,h} to cleanbench.{c,h}
-- Makefile now generates cleanbench
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@32 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -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 |