blob: e73cb876ce8576176f95506f99c92910fdabd629 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
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
|