aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-07-06 13:05:42 +0000
committerMax Horn2002-07-06 13:05:42 +0000
commit465164a3ba557f1c468aa39bb3b3ebb00a4aa4ac (patch)
tree73d6fa80f26760c64944970e10a238e9fceff8ab
parent72dc71335e1d616f7fad8c20134a433eb49e159b (diff)
downloadscummvm-rg350-465164a3ba557f1c468aa39bb3b3ebb00a4aa4ac.tar.gz
scummvm-rg350-465164a3ba557f1c468aa39bb3b3ebb00a4aa4ac.tar.bz2
scummvm-rg350-465164a3ba557f1c468aa39bb3b3ebb00a4aa4ac.zip
oops order is important
svn-id: r4468
-rw-r--r--Makefile.common20
1 files changed, 10 insertions, 10 deletions
diff --git a/Makefile.common b/Makefile.common
index 1079bfab0a..63ddd8c5a9 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -21,6 +21,16 @@ DISTFILES=$(OBJS:.o=.cpp) Makefile scumm.h scummsys.h stdafx.h stdafx.cpp \
debugrl.h whatsnew.txt readme.txt copying.txt \
scummvm.dsp scummvm.dsw sound/fmopl.h gui.h sound.h
+all: scummvm$(EXEEXT)
+
+scummvm$(EXEEXT): $(OBJS)
+ $(CC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS)
+
+clean:
+ rm -f $(OBJS) scummvm$(EXEEXT)
+
+.PHONY: all clean dist
+
# Default (dumb) compile & dependcy rules
.cpp.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
@@ -29,7 +39,6 @@ $(OBJS): $(INCS)
# If you use GCC, disable the above and enable this for intelligent
# dependency tracking.
-#
#DEPDIR := .deps
#.cpp.o:
# mkdir -p $(DEPDIR)
@@ -40,12 +49,3 @@ $(OBJS): $(INCS)
#
#-include $(DEPDIR)/*.d
-all: scummvm$(EXEEXT)
-
-scummvm$(EXEEXT): $(OBJS)
- $(CC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS)
-
-clean:
- rm -f $(OBJS) scummvm$(EXEEXT)
-
-.PHONY: all clean dist