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>.
This commit is contained in:
parent
dcabb49244
commit
d07e4f44f1
6 changed files with 12 additions and 12 deletions
|
@ -202,9 +202,9 @@ EXAMPLES = \
|
||||||
fix_dylib \
|
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
|
# in this case, the 'default' target entry is raylib
|
||||||
default: examples
|
all: examples
|
||||||
|
|
||||||
# compile all examples
|
# compile all examples
|
||||||
examples: $(EXAMPLES)
|
examples: $(EXAMPLES)
|
||||||
|
|
|
@ -162,9 +162,9 @@ SCREENS = \
|
||||||
screens/screen_gameplay.o \
|
screens/screen_gameplay.o \
|
||||||
screens/screen_ending.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
|
# in this case, the 'default' target entry is advance_game
|
||||||
default: advance_game
|
all: advance_game
|
||||||
|
|
||||||
# compile template - advance_game
|
# compile template - advance_game
|
||||||
advance_game: advance_game.c $(SCREENS)
|
advance_game: advance_game.c $(SCREENS)
|
||||||
|
|
|
@ -154,9 +154,9 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||||
EXT = .html
|
EXT = .html
|
||||||
endif
|
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
|
# in this case, the 'default' target entry is basic_game
|
||||||
default: basic_game
|
all: basic_game
|
||||||
|
|
||||||
# compile template - basic_game
|
# compile template - basic_game
|
||||||
basic_game: basic_game.c
|
basic_game: basic_game.c
|
||||||
|
|
|
@ -153,9 +153,9 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||||
EXT = .html
|
EXT = .html
|
||||||
endif
|
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
|
# in this case, the 'default' target entry is basic_test
|
||||||
default: basic_test
|
all: basic_test
|
||||||
|
|
||||||
# compile template - basic_test
|
# compile template - basic_test
|
||||||
basic_test: basic_test.c
|
basic_test: basic_test.c
|
||||||
|
|
|
@ -154,9 +154,9 @@ ifeq ($(PLATFORM),PLATFORM_WEB)
|
||||||
EXT = .html
|
EXT = .html
|
||||||
endif
|
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
|
# in this case, the 'default' target entry is simple_game
|
||||||
default: simple_game
|
all: simple_game
|
||||||
|
|
||||||
# compile template - simple_game
|
# compile template - simple_game
|
||||||
simple_game: simple_game.c screens.o
|
simple_game: simple_game.c screens.o
|
||||||
|
|
|
@ -162,9 +162,9 @@ SCREENS = \
|
||||||
screens/screen_gameplay.o \
|
screens/screen_gameplay.o \
|
||||||
screens/screen_ending.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
|
# in this case, the 'default' target entry is standard_game
|
||||||
default: standard_game
|
all: standard_game
|
||||||
|
|
||||||
# compile template - standard_game
|
# compile template - standard_game
|
||||||
standard_game: standard_game.c $(SCREENS)
|
standard_game: standard_game.c $(SCREENS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue