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/beos/Makefile | |
parent | b59dbd822f353cbf0db404f14c2721c79cde79fc (diff) |
specify app lib dependencies in Makefiles (patch 1/3)
Diffstat (limited to 'progs/beos/Makefile')
-rw-r--r-- | progs/beos/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/progs/beos/Makefile b/progs/beos/Makefile index 45782fb3cf7..491e8e442d1 100644 --- a/progs/beos/Makefile +++ b/progs/beos/Makefile @@ -10,7 +10,9 @@ include $(TOP)/configs/current # # Modified by Philippe Houdoin -LDFLAGS += -soname=_APP_ $(APP_LIB_DEPS) +LDFLAGS += -soname=_APP_ + +LIBS = -L$(TOP)/$(LIB_DIR) -l$(GLUT_LIB) -l$(GLU_LIB) -l$(GL_LIB) $(APP_LIB_DEPS) INCLUDES = -I. -I- -I../../include @@ -21,13 +23,13 @@ clean: rm -f *.o demo: demo.o - $(LD) demo.o $(LDFLAGS) -o $@ + $(LD) demo.o $(LDFLAGS) $(LIBS) -o $@ sample: sample.o - $(LD) sample.o $(LDFLAGS) -o $@ + $(LD) sample.o $(LDFLAGS) $(LIBS) -o $@ GTLInfo: GLInfo.o - $(LD) GLInfo.o $(INCLUDES) $(LDFLAGS) -o $@ + $(LD) GLInfo.o $(INCLUDES) $(LDFLAGS) $(LIBS) -o $@ .cpp.o: $(CC) -c $< $(INCLUDES) $(CFLAGS) -o $@ |