d242c3d587
PR: 51596 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
13 lines
408 B
Text
13 lines
408 B
Text
--- 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
|
|
|