Print this page
5468 Missing dependencies in lib/Makefile

@@ -21,11 +21,11 @@
 #
 #
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
+# Copyright 2015 RackTop Systems.
 #
 
 PROGS = adbgen1 adbgen3 adbgen4
 OBJS = adbsub.o
 SCRIPTS = adbgen

@@ -52,11 +52,11 @@
 install: $$(ROOTPROGS) $$(ROOTOBJS) $$(ROOTSCRIPTS)
 
 clean:
 
 adbgen%: ../common/adbgen%.c
-        $(LINK.c) -o $@ $<
+        $(LINK.c) -o $@ $< $(LDLIBS)
         $(POST_PROCESS)
 
 %.o: ../common/%.c
         $(COMPILE.c) -c -o $@ $<
         $(POST_PROCESS_O)