From ad5ba2696f46bc16be60cebee05b9b4884c58d7c Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Sun, 24 Oct 1999 19:36:08 +0000 Subject: [PATCH] Use LFLAGS when linking test program. --- dhcpctl/Makefile.dist | 3 ++- omapip/Makefile.dist | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dhcpctl/Makefile.dist b/dhcpctl/Makefile.dist index 9d555485..d3784d38 100644 --- a/dhcpctl/Makefile.dist +++ b/dhcpctl/Makefile.dist @@ -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 diff --git a/omapip/Makefile.dist b/omapip/Makefile.dist index 65f82b46..eb528e7b 100644 --- a/omapip/Makefile.dist +++ b/omapip/Makefile.dist @@ -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