* Change the name of debug.h into config.h and use the new RESPATH define.
This commit is contained in:
jean.chalard
2008-12-25 16:28:03 +00:00
parent 161da1d3cb
commit 3e9ff2b580
61 changed files with 191 additions and 178 deletions
+4 -4
View File
@@ -63,7 +63,7 @@ else
$(TARGET): $(OBJS)
$(TARGET): $(OBJS) ../../JGE/lib/linux/libjge.a
g++ -o $(TARGET) $(OBJS) $(LIBS) $(LIBDIR)
linux: $(TARGET)
@@ -71,17 +71,17 @@ linux: $(TARGET)
debug: linux
clean:
rm -f $(OBJS)
$(RM) $(OBJS)
$(OBJS): objs/%.o: src/%.cpp
$(CXX) -c -o $@ $(CXXFLAGS) $<
$(DEPS): deps/%.d: src/%.cpp
@set -e; rm -f $@; \
@set -e; $(RM) $@; \
$(CXX) -MM $(CXXFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,objs/\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
$(RM) $@.$$$$
include $(DEPS)