1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/misc/nsf/files/patch-Makefile
2005-10-16 05:12:46 +00:00

17 lines
393 B
Plaintext

--- Makefile.orig Sun Oct 16 01:08:35 2005
+++ Makefile Sun Oct 16 01:08:50 2005
@@ -1,10 +1,11 @@
-CFLAGS = -O #-DHPUX
+CFLAGS ?= -O #-DHPUX
+CC ?= cc
LIBS = -lncurses #if HP-UX, -lcurses
OBJS = nsf.o iloop.o
EXE = nsf
LOCAL_BIN = /usr/local/bin
$(EXE): $(OBJS)
- cc $(CFLAGS) -o $@ $(OBJS) $(LIBS)
+ $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)
$(OBJS): nsf.h
install: $(EXE)
strip $(EXE)