pkgsrc/games/vms-empire/patches/patch-aa
2005-05-24 14:08:43 +00:00

31 lines
759 B
Text

$NetBSD: patch-aa,v 1.3 2005/05/24 14:08:43 rillig Exp $
--- Makefile.orig 2004-11-03 20:17:21.000000000 -0400
+++ Makefile 2004-11-03 20:17:59.000000000 -0400
@@ -18,7 +18,7 @@
# Use -g to compile the program for debugging.
#DEBUG = -g -DDEBUG -Wall
-DEBUG = -O2
+#DEBUG = -O2
# Use -p to profile the program.
#PROFILE = -p -DPROFILE
@@ -28,7 +28,7 @@
# You shouldn't have to modify anything below this line.
-CFLAGS = $(DEBUG) $(PROFILE) -D$(SYS)
+CFLAGS += $(DEBUG) $(PROFILE) -D$(SYS)
FILES = \
attack.c \
@@ -67,7 +67,7 @@
all: vms-empire
vms-empire: $(OFILES)
- $(CC) $(PROFILE) -o vms-empire $(OFILES) $(LIBS)
+ $(CC) $(PROFILE) -o vms-empire $(OFILES) $(LIBS) $(LDFLAGS)
TAGS: $(HEADERS) $(FILES)
etags $(HEADERS) $(FILES)