updated Engine to use TextureCache

git-svn-id: svn://anubis/anaglym/trunk@95 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop committed 2009-10-18 16:33:58 +00:00
1 parent e537e89568
commit 79b11ba619
4 files changed
+23 -17

No files matched your search

+6 -2
View File
@@ -24,7 +24,7 @@ LUALIBS := -llua5.1
endif
SDLINCLUDE := $(shell sdl-config --cflags)
SDLLIBS := $(shell sdl-config --libs)
SDLLIBS := $(shell sdl-config --libs) -lSDL_image
ODEINCLUDE := $(shell ode-config --cflags)
ODELIBS := $(shell ode-config --libs)
@@ -51,7 +51,7 @@ endif
all: $(TARGET)
$(TARGET): $(OBJS) wfobj/WFObj.o OdeWorld/OdeWorld.o
$(TARGET): $(OBJS) wfobj/WFObj.o OdeWorld/OdeWorld.o TextureCache/TextureCache.o
$(CXX) -o $@ $^ $(LDFLAGS)
.PHONY: wfobj/WFObj.o
@@ -62,6 +62,10 @@ wfobj/WFObj.o:
OdeWorld/OdeWorld.o:
$(MAKE) -C OdeWorld
.PHONY: TextureCache/TextureCache.o
TextureCache/TextureCache.o:
$(MAKE) -C TextureCache
%.o: %.c
$(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $<