summaryrefslogtreecommitdiff
path: root/math/aamath/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/aamath/files')
-rw-r--r--math/aamath/files/patch-Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/math/aamath/files/patch-Makefile b/math/aamath/files/patch-Makefile
new file mode 100644
index 000000000000..8c178c8fdd50
--- /dev/null
+++ b/math/aamath/files/patch-Makefile
@@ -0,0 +1,17 @@
+--- Makefile.orig Thu Jun 23 00:12:18 2005
++++ Makefile Thu Jun 23 15:08:04 2005
+@@ -3,7 +3,7 @@
+ 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 -O2 -g -DUSE_READLINE
+ LFLAGS = -g
+ LIBS = -lreadline -ltermcap
+
+@@ -21,3 +21,5 @@
+
+ clean:
+ rm -f *.o lexer.cc parser.h parser.cc $(TARGET)
++
++all: $(TARGET)