mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
21 lines
609 B
Plaintext
21 lines
609 B
Plaintext
--- Makefile.orig 2006-01-25 23:03:13 UTC
|
|
+++ Makefile
|
|
@@ -39,7 +39,7 @@ PRIVDIR = /usr/local/etc/tempcontrol
|
|
|
|
# Where to install the startup script
|
|
RCDIR = /usr/local/etc/rc.d
|
|
-CFLAGS = -g -O3 -Wall -Wno-parentheses ${INCLUDES}
|
|
+CFLAGS += -g -Wall -Wno-parentheses ${CPPFLAGS}
|
|
|
|
LINK=gcc
|
|
LFLAGS= -g
|
|
@@ -88,7 +88,7 @@ depend: parser.h .FORCE
|
|
.FORCE:
|
|
|
|
tempcontrol: ${OBJS}
|
|
- ${CC} -o $@ ${CFLAGS} ${OBJS} -lreadline -lcurses -lutil
|
|
+ ${CC} -o $@ ${CFLAGS} ${OBJS} ${LDFLAGS} -lreadline -lncurses -lutil
|
|
|
|
clean:
|
|
rm -f *~ myparser* parser.h parserc.h parsercommands.c.sample parserkeys.h *.o ${PROG}
|