diff options
author | Dan Nicholson <[email protected]> | 2007-10-29 09:03:01 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-10-29 09:03:01 -0600 |
commit | c05aa5ec4cc29f949eff350582cb6f6c03dce3c6 (patch) | |
tree | 7fbd2ddd53a5eabacd35e12b407e203a7d2b2853 /progs/redbook | |
parent | b59dbd822f353cbf0db404f14c2721c79cde79fc (diff) |
specify app lib dependencies in Makefiles (patch 1/3)
Diffstat (limited to 'progs/redbook')
-rw-r--r-- | progs/redbook/Makefile | 4 |
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 $@ |