summaryrefslogtreecommitdiff
path: root/games/vms-empire/patches/patch-aa
blob: 2df18a0d44133a53fe40be25ab964691c972cf7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$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)