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