This commit is contained in:
ABelliqueux 2021-07-16 11:10:58 +02:00
parent 044ec65e22
commit 13166d81bb
1 changed files with 6 additions and 6 deletions

View File

@ -1,10 +1,12 @@
# If you change this to exe, you'll have to rename the file ./thirdparty/nugget/ps-exe.ld too.
TYPE = ps-exe
SRCS += ./thirdparty/nugget/common/crt0/crt0.s
# Check subfolder and current folder for psyq libs
CPPFLAGS += -I../thirdparty/nugget/psyq/include -I./thirdparty/nugget/psyq/include -I./psyq-4_7-converted/include -I../psyq-4_7-converted/include -I./psyq-4.7-converted-full/include -I../psyq-4.7-converted-full/include -I./psyq/include -I../psyq/include
LDFLAGS += -L../thirdparty/nugget/psyq/lib -L./thirdparty/nugget/psyq/lib -L./psyq-4_7-converted/lib -L../psyq-4_7-converted/lib -L./psyq-4.7-converted-full/lib -L../psyq-4.7-converted-full/lib -L./psyq/lib -L../psyq/lib
THISDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
SRCS += $(THISDIR)thirdparty/nugget/common/crt0/crt0.s
CPPFLAGS += -I$(THISDIR)thirdparty/nugget/psyq/include -I$(THISDIR)psyq-4_7-converted/include -I$(THISDIR)psyq-4.7-converted-full/include -I$(THISDIR)psyq/include
LDFLAGS += -L$(THISDIR)thirdparty/nugget/psyq/lib -L$(THISDIR)psyq-4_7-converted/lib -L$(THISDIR)psyq-4.7-converted-full/lib -L$(THISDIR)psyq/lib
LDFLAGS += -Wl,--start-group
LDFLAGS += -lapi
LDFLAGS += -lc
@ -30,8 +32,6 @@ LDFLAGS += -ltap
LDFLAGS += -lcd
LDFLAGS += -Wl,--end-group
THISDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
include $(THISDIR)/thirdparty/nugget/common.mk
# convert TIM file to bin