summaryrefslogtreecommitdiff
path: root/net/mudix/files/patch-aa
blob: b74c0643b78963d133568c0b5dc8a87702f0d36d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Makefile	Sun Mar 26 13:02:11 2000
+++ Makefile.new	Sun Mar 26 13:41:34 2000
@@ -1,10 +1,11 @@
-CC      = gcc
+LOCALBASE ?=	/usr/local
+CC      ?= gcc
 PROF    = 
 DEBUG   =  
 NOCRYPT =
-O_FLAGS = -O -g
-C_FLAGS = $(O_FLAGS) -DPOLLING -Wall $(DEBUG) $(PROF) $(NOCRYPT)
-L_FLAGS = $(O_FLAGS) -lpanel -lncurses      $(DEBUG) $(PROF)
+O_FLAGS = ${CFLAGS}
+C_FLAGS = $(O_FLAGS) -DPOLLING -Wall $(DEBUG) $(PROF) $(NOCRYPT) -I$(LOCALBASE)/include/ncurses -I$(LOCALBASE)/include
+L_FLAGS = $(O_FLAGS) -lpanel -lncurses      $(DEBUG) $(PROF) -L$(LOCALBASE)/lib
 
 O_FILES = alias.o commands.o file.o input.o log.o mudix.o output.o parse.o \
 	  path.o settings.o tabs.o telnet.o trigger.o