diff options
author | Max Horn | 2003-07-31 18:41:05 +0000 |
---|---|---|
committer | Max Horn | 2003-07-31 18:41:05 +0000 |
commit | ef9bf10ffb7754ebd842abf7d7db7e7ce9e05fc3 (patch) | |
tree | a0e3c9dd95c1ef47d63dbb9d92a96df84f76944b | |
parent | 53c65e37d52a8b86ac35fd151e1c98a67777013d (diff) | |
download | scummvm-rg350-ef9bf10ffb7754ebd842abf7d7db7e7ce9e05fc3.tar.gz scummvm-rg350-ef9bf10ffb7754ebd842abf7d7db7e7ce9e05fc3.tar.bz2 scummvm-rg350-ef9bf10ffb7754ebd842abf7d7db7e7ce9e05fc3.zip |
fix for bug #780989 (make distclean left some .deps dirs)
svn-id: r9339
-rw-r--r-- | Makefile.common | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.common b/Makefile.common index 6295a1fb08..7b71aaa0fd 100644 --- a/Makefile.common +++ b/Makefile.common @@ -27,7 +27,7 @@ DEPDIR := .deps ifdef DISABLE_SCUMM DEFINES += -DDISABLE_SCUMM else -MODULES += scumm +MODULES += scumm scumm/smush endif ifdef DISABLE_SIMON @@ -39,13 +39,13 @@ endif ifdef DISABLE_SKY DEFINES += -DDISABLE_SKY else -MODULES += sky +MODULES += sky sky/compacts sky/music endif ifdef DISABLE_SWORD2 DEFINES += -DDISABLE_SWORD2 else -MODULES += bs2 +MODULES += bs2 bs2/driver endif MODULES += \ @@ -53,7 +53,6 @@ MODULES += \ gui \ backends \ sound \ - scumm/smush \ backends/fs/posix \ backends/fs/morphos \ backends/fs/windows \ @@ -101,7 +100,9 @@ DEPFILES = $(wildcard $(addsuffix /*.d,$(DEPDIRS))) $(RM) "$(*D)/$(DEPDIR)/$(*F).d2" # If you even have GCC 3.x, you can use this build rule, which is safer; the above -# rule can get you into a bad state if you Ctrl-C it in the wrong moment. +# rule can get you into a bad state if you Ctrl-C at the wrong moment. +# Also, with this GCC inserts additional dummy rules for the involved headers, +# which ensures a smooth compilation even if said headers become obsolete. #.cpp.o: # $(MKDIR) $(*D)/$(DEPDIR) # $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o |