mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[scripts] Give precedence to platform-specific targets
This commit is contained in:
5
Makefile
5
Makefile
@@ -76,6 +76,10 @@ objs = $(call object_for,$(src))
|
||||
# but allows correct yet optimal incremental builds.
|
||||
-include $(objs:.o=.d)
|
||||
|
||||
# Load platform-specific targets
|
||||
# We include them before the standard ones to give them precedence.
|
||||
-include scripts/targets.$(PLATFORM).mak
|
||||
|
||||
# Define rules for executables
|
||||
# Those can be built directly with make executable.exe as a shortcut. They also
|
||||
# depends on $(objs)
|
||||
@@ -133,4 +137,3 @@ cowsay_%:
|
||||
.PHONY: clena
|
||||
clena: cowsay_CLENA clean
|
||||
|
||||
-include scripts/targets.$(PLATFORM).mak
|
||||
|
||||
Reference in New Issue
Block a user