mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-22 22:33:43 -07:00
Dynamic target name
This commit is contained in:
parent
686e5b3824
commit
acebb20838
1 changed files with 7 additions and 8 deletions
15
soh/Makefile
15
soh/Makefile
|
@ -5,6 +5,7 @@ AR := ar
|
|||
FORMAT := clang-format-11
|
||||
ZAPD := ../ZAPDTR/ZAPD.out
|
||||
UNAME := $(shell uname)
|
||||
UNAMEM := $(shell uname -m)
|
||||
|
||||
LIBULTRASHIP := ../libultraship/libultraship.a
|
||||
ZAPDUTILS := ../ZAPDTR/ZAPDUtils/ZAPDUtils.a
|
||||
|
@ -51,15 +52,13 @@ ifneq ($(LTO),0)
|
|||
LDFLAGS += -flto
|
||||
endif
|
||||
|
||||
TARGET := soh.arm64
|
||||
ifeq ($(UNAME), Linux) #LINUX
|
||||
TARGET := soh.elf
|
||||
endif
|
||||
|
||||
# ifeq ($(UNAME), Linux) #LINUX
|
||||
# TARGET := soh.elf
|
||||
# endif
|
||||
|
||||
# ifeq ($(UNAME), Darwin) #APPLE
|
||||
# TARGET := soh.arm64
|
||||
# endif
|
||||
ifeq ($(UNAME), Darwin) #APPLE
|
||||
TARGET := soh.$(UNAMEM)
|
||||
endif
|
||||
|
||||
INC_DIRS := $(addprefix -I, \
|
||||
. \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue