--- Makefile.orig	Tue Apr 29 05:48:48 2003
+++ Makefile	Sun May  4 05:50:02 2003
@@ -1,8 +1,8 @@
 objects := $(patsubst %.c,%.o,$(wildcard *.c))
 
-CFLAGS= -O3 -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"/usr/local/lib/nut\"
+CFLAGS+= -Wall -pedantic -ansi -DNUTDIR=\".nutdb\" -DFOODDIR=\"%%PREFIX%%/etc/nut\"
 
-nut:	$(objects)
+all:	$(objects)
 	gcc ${CFLAGS} -lm -o nut $(objects)
 	strip nut
 
