default: nbench ICC=icc GCC=gcc GCCFLAGS=-O3 -march=k8 -msse3 -ftree-vectorize -funroll-loops -pipe -static ICCFLAGS=-O2 -ip -xP -gcc -static LINKFLAGS= sysinfoc.c: Makefile ./sysinfo.sh $(GCC) $(GCCFLAGS) sysinfo.c: Makefile ./sysinfo.sh $(GCC) $(GCCFLAGS) 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 emfloat.o: emfloat.h emfloat.c nmglobal.h Makefile $(GCC) $(GCCFLAGS) -c emfloat.c randnum.o: randnum.c Makefile $(GCC) $(GCCFLAGS) -c randnum.c numsort.o: numsort.c $(GCC) $(GCCFLAGS) -c numsort.c stringsort.o: stringsort.c $(GCC) $(GCCFLAGS) -c stringsort.c bitfield.o: bitfield.c $(GCC) $(GCCFLAGS) -c bitfield.c fpemulation.o: fpemulation.c $(GCC) $(GCCFLAGS) -c fpemulation.c fourier.o: fourier.c $(GCC) $(GCCFLAGS) -c fourier.c assignment.o: assignment.c $(GCC) $(GCCFLAGS) -c assignment.c idea.o: idea.c $(GCC) $(GCCFLAGS) -c idea.c huffman.o: huffman.c $(GCC) $(GCCFLAGS) -c huffman.c neural.o: neural.c $(GCC) $(GCCFLAGS) -c neural.c linear.o: linear.c $(GCC) $(GCCFLAGS) -c linear.c sysspec.o: sysspec.h sysspec.c nmglobal.h Makefile $(GCC) $(GCCFLAGS) -c sysspec.c nbench: emfloat.o randnum.o nbench0.o numsort.o sysspec.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 sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o -o nbench -lm clean: - /bin/rm -f *.o nbench sysinfo.c sysinfoc.c remake: clean nbench