merged WFMtl code into WFObj files, added loadTexture callback
git-svn-id: svn://anubis/misc/wfobj@24 bd8a9e45-a331-0410-811e-c64571078777
This commit is contained in:
1 parent
0ba39b3669
commit
26e2833f82
6 files changed
+328
-322
No files matched your search
@@ -1,7 +1,7 @@
|
||||
|
||||
CXX := g++
|
||||
CXXFLAGS := -O2
|
||||
SOURCE := WFObj.cc WFMtl.cc driver.cc
|
||||
SOURCE := WFObj.cc driver.cc
|
||||
OBJS := $(SOURCE:.cc=.o)
|
||||
LDFLAGS := -lGL
|
||||
TARGET := driver
|
||||
@@ -11,8 +11,8 @@ all: $(TARGET)
|
||||
$(TARGET): $(OBJS)
|
||||
$(CXX) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
%.o: %.cc
|
||||
$(CXX) -c -o $@ $^ $(CXXFLAGS)
|
||||
%.o: %.cc %.hh
|
||||
$(CXX) -c -o $@ $< $(CXXFLAGS)
|
||||
|
||||
clean:
|
||||
-rm -f *~ *.o $(TARGET)
|
||||
Reference in new issue
Block a user