aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLelixSuper <emanuele98@openmailbox.org>2016-03-12 18:40:52 +0100
committerLelixSuper <emanuele98@openmailbox.org>2016-03-12 18:40:52 +0100
commitd07e4f44f18887a54a25748ce7f5b9e6cf310b22 (patch)
tree7914d79ecb6d56710aeff52a428a23152f2152dd
parentdcabb49244ba4da0d0ccdda7fce61103c814b086 (diff)
downloadraylib-d07e4f44f18887a54a25748ce7f5b9e6cf310b22.tar.gz
raylib-d07e4f44f18887a54a25748ce7f5b9e6cf310b22.zip
Edit the default target to conform to GNU standards
I've changed all default target names with 'all'. Here there is the explanation: <https://www.gnu.org/prep/standards/standards.html#Standard-Targets>.
-rw-r--r--examples/makefile4
-rw-r--r--templates/advance_game/makefile4
-rw-r--r--templates/basic_game/makefile4
-rw-r--r--templates/basic_test/makefile4
-rw-r--r--templates/simple_game/makefile4
-rw-r--r--templates/standard_game/makefile4
6 files changed, 12 insertions, 12 deletions
diff --git a/examples/makefile b/examples/makefile
index 2a9e88ba..23931c98 100644
--- a/examples/makefile
+++ b/examples/makefile
@@ -202,9 +202,9 @@ EXAMPLES = \
fix_dylib \
-# typing 'make' will invoke the first target entry in the file,
+# typing 'make' will invoke the default target entry called 'all',
# in this case, the 'default' target entry is raylib
-default: examples
+all: examples
# compile all examples
examples: $(EXAMPLES)
diff --git a/templates/advance_game/makefile b/templates/advance_game/makefile
index e19eb746..975fb4c5 100644
--- a/templates/advance_game/makefile
+++ b/templates/advance_game/makefile
@@ -162,9 +162,9 @@ SCREENS = \
screens/screen_gameplay.o \
screens/screen_ending.o \
-# typing 'make' will invoke the first target entry in the file,
+# typing 'make' will invoke the default target entry called 'all',
# in this case, the 'default' target entry is advance_game
-default: advance_game
+all: advance_game
# compile template - advance_game
advance_game: advance_game.c $(SCREENS)
diff --git a/templates/basic_game/makefile b/templates/basic_game/makefile
index 05732040..41d9379e 100644
--- a/templates/basic_game/makefile
+++ b/templates/basic_game/makefile
@@ -154,9 +154,9 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
EXT = .html
endif
-# typing 'make' will invoke the first target entry in the file,
+# typing 'make' will invoke the default target entry called 'all',
# in this case, the 'default' target entry is basic_game
-default: basic_game
+all: basic_game
# compile template - basic_game
basic_game: basic_game.c
diff --git a/templates/basic_test/makefile b/templates/basic_test/makefile
index a0ed2608..5654b224 100644
--- a/templates/basic_test/makefile
+++ b/templates/basic_test/makefile
@@ -153,9 +153,9 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
EXT = .html
endif
-# typing 'make' will invoke the first target entry in the file,
+# typing 'make' will invoke the default target entry called 'all',
# in this case, the 'default' target entry is basic_test
-default: basic_test
+all: basic_test
# compile template - basic_test
basic_test: basic_test.c
diff --git a/templates/simple_game/makefile b/templates/simple_game/makefile
index 41fef740..c94389a4 100644
--- a/templates/simple_game/makefile
+++ b/templates/simple_game/makefile
@@ -154,9 +154,9 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
EXT = .html
endif
-# typing 'make' will invoke the first target entry in the file,
+# typing 'make' will invoke the default target entry called 'all',
# in this case, the 'default' target entry is simple_game
-default: simple_game
+all: simple_game
# compile template - simple_game
simple_game: simple_game.c screens.o
diff --git a/templates/standard_game/makefile b/templates/standard_game/makefile
index 90f0e6f2..ca4ed475 100644
--- a/templates/standard_game/makefile
+++ b/templates/standard_game/makefile
@@ -162,9 +162,9 @@ SCREENS = \
screens/screen_gameplay.o \
screens/screen_ending.o \
-# typing 'make' will invoke the first target entry in the file,
+# typing 'make' will invoke the default target entry called 'all',
# in this case, the 'default' target entry is standard_game
-default: standard_game
+all: standard_game
# compile template - standard_game
standard_game: standard_game.c $(SCREENS)