aboutsummaryrefslogtreecommitdiffstats
path: root/math/aamath/files/patch-Makefile
blob: a3476d1e8e378b01a6d0a1ec528aaf82d7991968 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile    Wed Jun 22 22:12:18 2005
+++ Makefile.port   Tue Sep  6 13:29:09 2005
@@ -3,9 +3,9 @@
 CXXFILES   = parser.cc lexer.cc expr.cc canvas.cc aamath.cc
 OBJS       = $(CXXFILES:.cc=.o) 
 TARGET     = aamath
-CFLAGS     = -Wall -O2 -g -DUSE_READLINE
+CFLAGS     += -Wall -g -DUSE_READLINE
 LFLAGS     = -g
-LIBS       = -lreadline -ltermcap
+LIBS       = $(LDFLAGS) -ltermcap
 
 $(TARGET): $(OBJS)
    $(LD) $(LFLAGS) $(OBJS) -o $@ $(LIBS)
@@ -21,3 +21,5 @@
 
 clean:
    rm -f *.o lexer.cc parser.h parser.cc $(TARGET)
+
+all: $(TARGET)