1 --- Makefile.orig Mon Oct 18 00:07:05 2004
2 +++ Makefile Mon Oct 18 00:07:51 2004
3 @@ -19,10 +19,10 @@ default: nbench
4 # You should leave -static in the CFLAGS so that your sysinfo can be
5 # compiled into the executable.
10 # generic options for gcc
11 -CFLAGS = -s -static -Wall -O3
12 +CFLAGS += -static -DDATADIR=\"${PREFIX}/share/nbench/\"
14 # if your gcc lets you do it, then try this one
15 #CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops
16 @@ -126,7 +126,7 @@ pointer.h: pointer Makefile
17 if [ "4" = `./pointer` ] ; then touch pointer.h ;\
18 else echo "#define LONG64" >pointer.h ; fi
20 -misc.o: misc.h misc.c Makefile
21 +misc.o: misc.h misc.c nmglobal.h pointer.h Makefile
22 $(CC) $(MACHINE) $(DEFINES) $(CFLAGS)\