]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Use LFLAGS when linking test program.
authorTed Lemon <source@isc.org>
Sun, 24 Oct 1999 19:36:08 +0000 (19:36 +0000)
committerTed Lemon <source@isc.org>
Sun, 24 Oct 1999 19:36:08 +0000 (19:36 +0000)
dhcpctl/Makefile.dist
omapip/Makefile.dist

index 9d55548516018570150d169ce0c6ab9e48751552..d3784d38823c3e03291407815fb4a9e0a5752cf4 100644 (file)
@@ -30,7 +30,8 @@ CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
 all:   libdhcpctl.a test $(CATMANPAGES)
 
 test:  test.o libdhcpctl.a ../omapip/libomapi.a
-       $(CC) $(DEBUG) -o test test.o libdhcpctl.a ../omapip/libomapi.a $(LIBS)
+       $(CC) $(DEBUG) $(LFLAGS) -o test test.o libdhcpctl.a \
+                       ../omapip/libomapi.a $(LIBS)
 
 libdhcpctl.a:  $(OBJ)
        rm -f libdhcpctl.a
index 65f82b46de25de720185a1c1529ee18e74503573..eb528e7b0a930be1b20ba46d0c9c89a564f1cc6c 100644 (file)
@@ -32,7 +32,7 @@ CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
 all:   libomapi.a test $(CATMANPAGES)
 
 test:  test.o libomapi.a
-       $(CC) $(DEBUG) -o test test.o libomapi.a $(LIBS)
+       $(CC) $(DEBUG) $(LFLAGS) -o test test.o libomapi.a $(LIBS)
 
 libomapi.a:    $(OBJ)
        rm -f libomapi.a