demos: fix LIBS ref in makefile
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 11 Sep 2008 19:07:41 +0000 (20:07 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 11 Sep 2008 19:07:41 +0000 (20:07 +0100)
progs/demos/Makefile

index 43cab1a..123d1e5 100644 (file)
@@ -81,7 +81,7 @@ PROGS = \
 
 # make executable from .c file:
 .c: $(LIB_DEP) readtex.o
-       $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< readtex.o $(APP_LIB_DEPS) -o $@
+       $(APP_CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< readtex.o $(LIBS) -o $@
 
 
 ##### TARGETS #####