Print this page
5468 Missing dependencies in lib/Makefile

@@ -20,10 +20,12 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2015 RackTop Systems.
+#
 # Makefile for cmd/audio/audiotest
 
 PROG= audiotest
 OBJS= audiotest.o wavedata.o
 SRCS= $(OBJS:%.o=%.c)

@@ -36,11 +38,11 @@
 .KEEP_STATE:
 
 all: $(PROG)
 
 $(PROG):        $(OBJS)
-        $(LINK.c) $(OBJS) -o $@
+        $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
         $(POST_PROCESS)
 
 install: all $(ROOTPROG)
 
 clean: