diff options
author | Max Horn | 2002-08-14 00:02:27 +0000 |
---|---|---|
committer | Max Horn | 2002-08-14 00:02:27 +0000 |
commit | 96baaa974ad983f61bb9c25700d4237ef7657171 (patch) | |
tree | 029b826b9e1830a73ec389095febd9e9e3869e82 /Makefile.common | |
parent | 16aa478d8bb336987701f2f024b60cb334dc8bb8 (diff) | |
download | scummvm-rg350-96baaa974ad983f61bb9c25700d4237ef7657171.tar.gz scummvm-rg350-96baaa974ad983f61bb9c25700d4237ef7657171.tar.bz2 scummvm-rg350-96baaa974ad983f61bb9c25700d4237ef7657171.zip |
oops :-)
svn-id: r4737
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile.common b/Makefile.common index 94a0db1698..727e10eeb8 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 |