From: Oliver Schmidt 
Date: Wed, 5 Feb 2014 21:31:46 +0000 (+0100)
Subject: Goals from top level Makefile should be known even if empty.
X-Git-Tag: V2.15~173
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=74ece8256e8f67702ab4dbbfb7f90a24f6f7683d;p=cc65
Goals from top level Makefile should be known even if empty.
---
diff --git a/src/Makefile b/src/Makefile
index 051c7eb1f..9a8807e37 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,3 +1,7 @@
+.SUFFIXES:
+
+.PHONY: all bin $(PROGS) mostlyclean clean install avail unavail
+
 ifeq ($(shell echo),)
 
 PROGS = ar65  \
@@ -30,10 +34,6 @@ LDLIBS += -lm
 
 INSTALL = install
 
-.SUFFIXES:
-
-.PHONY: all bin $(PROGS) mostlyclean clean install avail unavail
-
 all bin: $(PROGS)
 
 mostlyclean:
@@ -116,10 +116,6 @@ $(foreach prog,$(PROGS),$(eval $(call PROG_template,$(prog))))
 
 else # cmd.exe
 
-.SUFFIXES:
-
-.PHONY: all bin mostlyclean clean
-
 all bin:
 	msbuild cc65.sln /p:configuration=release /consoleloggerparameters:disableconsolecolor
 
@@ -129,4 +125,6 @@ mostlyclean:
 clean:
 	msbuild cc65.sln /p:configuration=release /consoleloggerparameters:disableconsolecolor /target:$@
 
+install avail unavail:
+
 endif # cmd.exe