blob: c30bad83c6085e4787b44099161021d4fd319a62 (
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.1.1.1 2003/06/02 14:09:49 jmmv Exp $
--- Makefile.orig 2002-08-01 21:04:02.000000000 +0200
+++ Makefile
@@ -19,7 +19,7 @@ SYS = LINUX
# 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
@@ -29,7 +29,7 @@ LIBS = -lncurses
# You shouldn't have to modify anything below this line.
-CFLAGS = $(DEBUG) $(PROFILE) -D$(SYS)
+CFLAGS += $(DEBUG) $(PROFILE) -D$(SYS)
FILES = \
attack.c \
@@ -68,7 +68,7 @@ OFILES = \
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)
|