summaryrefslogtreecommitdiff
path: root/progs/miniglx/Makefile
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-10-29 09:03:01 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-29 09:03:01 -0600
commitc05aa5ec4cc29f949eff350582cb6f6c03dce3c6 (patch)
tree7fbd2ddd53a5eabacd35e12b407e203a7d2b2853 /progs/miniglx/Makefile
parentb59dbd822f353cbf0db404f14c2721c79cde79fc (diff)
specify app lib dependencies in Makefiles (patch 1/3)
Diffstat (limited to 'progs/miniglx/Makefile')
-rw-r--r--progs/miniglx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/progs/miniglx/Makefile b/progs/miniglx/Makefile
index 56cecf4081..5d0c8eae64 100644
--- a/progs/miniglx/Makefile
+++ b/progs/miniglx/Makefile
@@ -20,6 +20,8 @@ INCLUDES = \
-I. \
-I$(TOP)/include
+LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS)
+
##### RULES #####
@@ -27,7 +29,7 @@ INCLUDES = \
.SUFFIXES: .c
.c:
- $(CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $< $(APP_LIB_DEPS) -o $@
+ $(CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
.c.o:
$(CC) -c $(INCLUDES) $(CFLAGS) $< -o $@