aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-08-02 11:17:11 +0000
committerMax Horn2003-08-02 11:17:11 +0000
commit47f0abec39db29aa41ea25a84fb03b8d16548daf (patch)
tree857fd2934c5e7e3479747fa71af6bbf6ee133bb1
parent8762b47a11dd564543429dfb9940982e4e9e8e5a (diff)
downloadscummvm-rg350-47f0abec39db29aa41ea25a84fb03b8d16548daf.tar.gz
scummvm-rg350-47f0abec39db29aa41ea25a84fb03b8d16548daf.tar.bz2
scummvm-rg350-47f0abec39db29aa41ea25a84fb03b8d16548daf.zip
GCC3 mode and distclean target were broken
svn-id: r9406
-rw-r--r--Makefile.common6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common
index 4262c9df30..dae682ef71 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -87,12 +87,12 @@ clean:
#$(OBJS): $(INCS)
-ifndef HAVE_GCC3
-# If you use GCC, disable the above and enable this for intelligent
-# dependency tracking.
DEPDIRS = $(addsuffix /$(DEPDIR),$(MODULES))
DEPFILES = $(wildcard $(addsuffix /*.d,$(DEPDIRS)))
+ifndef HAVE_GCC3
+# If you use GCC, disable the above and enable this for intelligent
+# dependency tracking.
.cpp.o:
$(MKDIR) $(*D)/$(DEPDIR)
$(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d2" $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o