summaryrefslogtreecommitdiffstats
path: root/progs/redbook
diff options
context:
space:
mode:
authorDan Nicholson <[email protected]>2007-10-29 09:03:01 -0600
committerDan Nicholson <[email protected]>2007-10-29 12:05:54 -0700
commit29b8cac7d7fdff8433ba49af77fcc24fcae59282 (patch)
tree310c6f08ebbf194c3c9ea633a2ef518734b9b17f /progs/redbook
parentcdb02d43fe4f7eb0a4446ac4ecf4a9ee61aa1a67 (diff)
specify app lib dependencies in Makefiles (patch 1/3)
(cherry-picked from commit c05aa5ec4cc29f949eff350582cb6f6c03dce3c6) Conflicts: progs/demos/Makefile progs/xdemos/Makefile
Diffstat (limited to 'progs/redbook')
-rw-r--r--progs/redbook/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/redbook/Makefile b/progs/redbook/Makefile
index 078f19125a8..7ba676c265b 100644
--- a/progs/redbook/Makefile
+++ b/progs/redbook/Makefile
@@ -7,6 +7,8 @@ INCDIR = $(TOP)/include
LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLU_LIB_NAME) $(TOP)/$(LIB_DIR)/$(GLUT_LIB_NAME)
+LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
+
PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
bezcurve bezmesh checker clip colormat cube depthcue dof \
double drawf feedback fog fogindex font hello image light \
@@ -24,7 +26,7 @@ PROGS = aaindex aapoly aargb accanti accpersp alpha alpha3D anti \
.SUFFIXES: .c
.c: $(LIB_DEP)
- $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< $(APP_LIB_DEPS) -o $@
+ $(CC) -I$(INCDIR) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@