freebsd-ports/graphics/duhdraw/files/patch-ab
Kris Kennaway 0d4fe976b0 Add duhdraw 2.6.96
DuhDraw is a program which almost perfectly simulates TheDraw for DOS.

Submitted by:   mkm@ieee.org
2002-09-21 00:33:36 +00:00

29 lines
608 B
Text

--- Makefile.orig Thu Apr 4 19:16:01 2002
+++ Makefile Fri Sep 20 17:28:35 2002
@@ -1,5 +1,6 @@
# These are the production settings
-CC=gcc -O2 -s
+CC?=cc
+CFLAGS+=-s
STRIP=strip
LIBS=-lncurses
@@ -11,15 +12,15 @@
all: duhdraw ansitoc ansi
ansi: cleanansi
- $(CC) -o ansi ansi.c $(LIBS)
+ $(CC) $(CFLAGS) -o ansi ansi.c $(LIBS)
$(STRIP) ansi
duhdraw: cleandd
- $(CC) -o duhdraw duhdraw.c $(LIBS)
+ $(CC) $(CFLAGS) -o duhdraw duhdraw.c $(LIBS)
$(STRIP) duhdraw
ansitoc: cleanansitoc
- $(CC) -o ansitoc ansitoc.c
+ $(CC) $(CFLAGS) -o ansitoc ansitoc.c
$(STRIP) ansitoc
cleanansi: