initial import, wfobj-view.cc from basic trackball program
git-svn-id: svn://anubis/misc/wfobj-view@29 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
1 parent
2db95857ce
commit
3abb848fac
8 files changed
+845
No files matched your search
@@ -0,0 +1,25 @@
|
||||
CXX := g++
|
||||
CXXFLAGS := -O2 `sdl-config --cflags`
|
||||
LDFLAGS := -lGL -lGLU `sdl-config --libs` -lSDL_image
|
||||
TARGET := wfobj-view
|
||||
|
||||
.PHONY: all clean TextureCache wfobj
|
||||
|
||||
all: $(TARGET)
|
||||
|
||||
$(TARGET): $(TARGET).o TextureCache wfobj
|
||||
$(CXX) -o $(TARGET) $< TextureCache/TextureCache.o wfobj/WFObj.o $(LDFLAGS)
|
||||
|
||||
%.o: %.cc
|
||||
$(CXX) -c -o $@ $< $(CXXFLAGS)
|
||||
|
||||
TextureCache:
|
||||
make -C TextureCache
|
||||
|
||||
wfobj:
|
||||
make -C wfobj
|
||||
|
||||
clean:
|
||||
make -C TextureCache clean
|
||||
make -C wfobj clean
|
||||
-rm -f *.o *~ $(TARGET)
|
||||
Reference in new issue
Block a user