aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-11-21 04:28:51 +0000
committerMax Horn2002-11-21 04:28:51 +0000
commite0115a36fdf62fd1f8a453070e7d07bd53e0d161 (patch)
tree3fe01e6b2677532529dfd4fcf9731189bef8d15d
parent69bceafc6e1a810f8f66b81bf76e2c2c6fb16fe0 (diff)
downloadscummvm-rg350-e0115a36fdf62fd1f8a453070e7d07bd53e0d161.tar.gz
scummvm-rg350-e0115a36fdf62fd1f8a453070e7d07bd53e0d161.tar.bz2
scummvm-rg350-e0115a36fdf62fd1f8a453070e7d07bd53e0d161.zip
slight change of module order to see if that helps stupid GNU ld
svn-id: r5654
-rw-r--r--Makefile.common20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile.common b/Makefile.common
index a4748bfd0c..350dfcc582 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -23,7 +23,7 @@ DEPDIR := .deps
# module.mk of their parents. In fact the only reason they are listed here is to ensure the
# DEPDIRS directive works correctly.
MODULES += \
- backends common gui scumm simon sound \
+ scumm simon gui sound common backends \
scumm/smush backends/fs/posix backends/fs/morphos backends/fs/windows
# Include the build instructions for all modules
@@ -50,18 +50,18 @@ clean:
DEPDIRS = $(patsubst %,%/$(DEPDIR),$(MODULES))
DEPFILES = $(wildcard $(patsubst %,%/*.d,$(DEPDIRS)))
-.cpp.o:
- $(MKDIR) $(*D)/$(DEPDIR)
- $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d2" $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
- $(ECHO) "$(*D)/" > $(*D)/$(DEPDIR)/$(*F).d
- $(CAT) "$(*D)/$(DEPDIR)/$(*F).d2" >> "$(*D)/$(DEPDIR)/$(*F).d"
- $(RM) "$(*D)/$(DEPDIR)/$(*F).d2"
+#.cpp.o:
+# $(MKDIR) $(*D)/$(DEPDIR)
+# $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d2" $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
+# $(ECHO) "$(*D)/" > $(*D)/$(DEPDIR)/$(*F).d
+# $(CAT) "$(*D)/$(DEPDIR)/$(*F).d2" >> "$(*D)/$(DEPDIR)/$(*F).d"
+# $(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.
-#.cpp.o:
-# $(MKDIR) $(*D)/$(DEPDIR)
-# $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
+.cpp.o:
+ $(MKDIR) $(*D)/$(DEPDIR)
+ $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d",-MQ,"$@",-MP $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
-include $(DEPFILES) /dev/null