blob: 6b26645c15ea2bbe9a71c4de76503c52b11dfd6d (
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
|
$NetBSD: patch-aj,v 1.1 2005/05/13 13:25:55 salo Exp $
--- parse/Makefile.orig 2003-08-02 21:39:36.000000000 +0200
+++ parse/Makefile 2005-05-13 15:02:44.000000000 +0200
@@ -5,10 +5,12 @@
OBJECTS=$(JOBJS) $(MJOBJS) $(POBJECTS) $(DOBJECTS)
EXECS=parsetest parsetest2
-FLAGS = -g -O2 -Wall $(DEBUG)
+FLAGS = -g -O2 -Wall $(DEBUG) $(CFLAGS)
#FLAGS = -g $(DEBUG)
-all: $(EXECS)
+all: $(POBJECTS)
+
+test: $(EXECS)
clean:
rm -f $(POBJECTS) core $(EXECS)
@@ -26,8 +28,8 @@
$(CC) -c $(FLAGS) -o ParseIpAcl.o ParseIpAcl.c
parsetest: parsetest.c $(OBJECTS)
- $(CC) $(FLAGS) -o parsetest parsetest.c $(OBJECTS)
+ $(CC) $(FLAGS) -o parsetest parsetest.c $(OBJECTS) $(LDFLAGS)
parsetest2: parsetest2.c $(OBJECTS)
- $(CC) $(FLAGS) -o parsetest2 parsetest2.c $(OBJECTS)
+ $(CC) $(FLAGS) -o parsetest2 parsetest2.c $(OBJECTS) $(LDFLAGS)
|