ports/math/aamath/files/patch-Makefile
Sergey Matveychuk 05c86adb6a Aamath is a program that reads mathematical expressions in infix notation and
renders them as ASCII art. It may be useful to send mathematics through
text-only media, such as e-mail or newsgroups.

PR:		ports/82552
Submitted by:	Vsevolod Stakhov <vsevolod@highsecure.ru>
2005-06-23 11:53:28 +00:00

17 lines
424 B
Text

--- 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)