diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2007-10-29 09:03:01 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-29 09:03:01 -0600 |
commit | c05aa5ec4cc29f949eff350582cb6f6c03dce3c6 (patch) | |
tree | 7fbd2ddd53a5eabacd35e12b407e203a7d2b2853 /progs/slang/Makefile | |
parent | b59dbd822f353cbf0db404f14c2721c79cde79fc (diff) |
specify app lib dependencies in Makefiles (patch 1/3)
Diffstat (limited to 'progs/slang/Makefile')
-rw-r--r-- | progs/slang/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/progs/slang/Makefile b/progs/slang/Makefile index 61db26d080..ea1e9b6afd 100644 --- a/progs/slang/Makefile +++ b/progs/slang/Makefile @@ -8,6 +8,8 @@ INCDIR = $(TOP)/include LIB_DEP = $(TOP)/$(LIB_DIR)/$(GL_LIB_NAME) +LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS) + # # targets # @@ -29,13 +31,13 @@ clean: # cltest: cltest.o framework.o $(LIB_DEP) - $(CC) $(LDFLAGS) cltest.o framework.o $(APP_LIB_DEPS) -o cltest + $(CC) $(LDFLAGS) cltest.o framework.o $(LIBS) -o cltest sotest: sotest.o framework.o $(LIB_DEP) - $(CC) $(LDFLAGS) sotest.o framework.o $(APP_LIB_DEPS) -o sotest + $(CC) $(LDFLAGS) sotest.o framework.o $(LIBS) -o sotest vstest: vstest.o framework.o $(LIB_DEP) - $(CC) $(LDFLAGS) vstest.o framework.o $(APP_LIB_DEPS) -o vstest + $(CC) $(LDFLAGS) vstest.o framework.o $(LIBS) -o vstest # # objects |