From fdb0f96aa0254eb5864d34fb3ae734e178935a3f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 14 Nov 2008 04:56:19 +0000 Subject: -- 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 --- Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3