fix Makefile default target
authorleslie <unknown>
Sat, 26 Jan 2008 19:37:01 +0000 (20:37 +0100)
committerleslie <unknown>
Sat, 26 Jan 2008 19:37:01 +0000 (20:37 +0100)
Makefile

index 000c248862e1bd4ccba19647be672d4c95a722b9..fee835304f64fe5985a0161d1cb5733b46d95c0d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -142,16 +142,6 @@ export SHAREDLIBS
 export CXX
 export CXXFLAGS
 
-# Dependencies:
-
-MAKEDEP = g++ -MM -MG
-DEPFILE = .dependencies
-DEPFILES = $(subst i18n.c,,$(subst version.c,,$(OBJS:%.o=%.c)))
-$(DEPFILE): $(DEPFILES) $(wildcard *.h)
-       @$(MAKEDEP) $(DEFINES) $(SHAREDDEFINES) $(INCLUDES) $(DEPFILES) > $@
-
--include $(DEPFILE)
-
 ### Targets:
 
 ifdef STATIC
@@ -165,10 +155,21 @@ ifneq ($(strip $(HASLOCALE)),)
 BUILDTARGETS += i18n
 endif
 
-default-target: all
 all: $(BUILDTARGETS)
 .PHONY: i18n systems systems-pre clean clean-core clean-systems clean-pre dist srcdist
 
+# Dependencies:
+
+MAKEDEP = g++ -MM -MG
+DEPFILE = .dependencies
+DEPFILES = $(subst i18n.c,,$(subst version.c,,$(OBJS:%.o=%.c)))
+$(DEPFILE): $(DEPFILES) $(wildcard *.h)
+       @$(MAKEDEP) $(DEFINES) $(SHAREDDEFINES) $(INCLUDES) $(DEPFILES) > $@
+
+-include $(DEPFILE)
+
+# Rules
+
 %.o: %.c
        $(CXX) $(CXXFLAGS) -c $(DEFINES) $(SHAREDDEFINES) $(INCLUDES) $<