3d8057d2a8
From Daniel Dickman. ok jasper@
19 lines
589 B
Plaintext
19 lines
589 B
Plaintext
$OpenBSD: patch-Makefile,v 1.8 2010/08/18 03:00:40 merdely Exp $
|
|
--- Makefile.orig Thu Jul 1 21:56:42 2010
|
|
+++ Makefile Thu Jul 15 14:14:29 2010
|
|
@@ -1,11 +1,11 @@
|
|
NUTDIR := \".nutdb\"
|
|
-FOODDIR := \"/usr/local/lib/nut\"
|
|
+FOODDIR := \"${PREFIX}/lib/nutdb\"
|
|
EXECUTABLE := nut
|
|
LIBS := -lm
|
|
|
|
-CFLAGS := -Wall -O2 -s -fno-inline -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
|
+CFLAGS := -Wall -fno-inline -DNUTDIR=$(NUTDIR) -DFOODDIR=$(FOODDIR)
|
|
|
|
-CXXFLAGS := -Wall -O2 -s
|
|
+CXXFLAGS := -Wall
|
|
|
|
SOURCE := $(wildcard *.c) $(wildcard *.cc)
|
|
OBJS := $(patsubst %.c,%.o,$(patsubst %.cc,%.o,$(SOURCE)))
|