diff options
author | Travis Howell | 2002-07-13 09:41:21 +0000 |
---|---|---|
committer | Travis Howell | 2002-07-13 09:41:21 +0000 |
commit | 98df5185d33988744559efe1a75a241c38e691d1 (patch) | |
tree | d7df231536f4bf185d4161249131d9f162a096fa | |
parent | 86a2ca6b820fa5d25911c4b1348dc95234c1404a (diff) | |
download | scummvm-rg350-98df5185d33988744559efe1a75a241c38e691d1.tar.gz scummvm-rg350-98df5185d33988744559efe1a75a241c38e691d1.tar.bz2 scummvm-rg350-98df5185d33988744559efe1a75a241c38e691d1.zip |
*** empty log message ***
svn-id: r4530
-rw-r--r-- | Makefile.common | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile.common b/Makefile.common index 337d7a2a0f..e3360570a7 100644 --- a/Makefile.common +++ b/Makefile.common @@ -33,19 +33,19 @@ clean: .PHONY: all clean dist # Default (dumb) compile & dependcy rules -#.cpp.o: -# $(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o -#$(OBJS): $(INCS) +.cpp.o: + $(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o +$(OBJS): $(INCS) # If you use GCC, disable the above and enable this for intelligent # dependency tracking. -DEPDIR := .deps -.cpp.o: - mkdir -p $(DEPDIR) - $(CC) -Wp,-MMD,"$(DEPDIR)/$(*F).d2" $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o - echo -n "$(*D)/" > $(DEPDIR)/$(*F).d - cat "$(DEPDIR)/$(*F).d2" >> "$(DEPDIR)/$(*F).d" - rm -f "$(DEPDIR)/$(*F).d2" - --include $(DEPDIR)/*.d +#DEPDIR := .deps +#.cpp.o: +# mkdir -p $(DEPDIR) +# $(CC) -Wp,-MMD,"$(DEPDIR)/$(*F).d2" $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o +# echo -n "$(*D)/" > $(DEPDIR)/$(*F).d +# cat "$(DEPDIR)/$(*F).d2" >> "$(DEPDIR)/$(*F).d" +# rm -f "$(DEPDIR)/$(*F).d2" +# +#-include $(DEPDIR)/*.d |