Commit f86adb85 authored by hybrid's avatar hybrid

Add dependency files for automatic recompilation with Makefiles and gcc.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2166 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 276d0039
......@@ -37,3 +37,12 @@ clean_linux clean_win32:
@$(RM) $(DESTPATH)
.PHONY: all all_win32 clean clean_linux clean_win32
# Create dependency files for automatic recompilation
%.d:%.cpp
$(CXX) $(CPPFLAGS) -MM -MF $@ $<
ifneq ($(MAKECMDGOALS),clean)
-include $(OBJ:.o=.d)
endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment