Fix libs in makefile

This commit is contained in:
Zac 2023-12-08 08:01:57 +00:00 committed by GitHub
parent f3eef4391c
commit 3c3d1bf0c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,11 @@ VPATH := $(SDIR)
SRCS := $(wildcard $(SDIR)/*.cpp)
# Custom compiler flags
CCFLAGS = -Wall -Wno-unused $(BASEFLAGS) -fno-strict-aliasing -I$(SCE_COMMON)/include -I$(SCE_EE)/include -I$(SDIR)
CCDEFINES = -D__BUILD_USER=\"$(USER)\"
CCINCLUDES = -I$(SCE_COMMON)/include -I$(SCE_EE)/include -I$(SDIR)
CCFLAGS = -Wall -Wno-unused $(BASEFLAGS) -fno-strict-aliasing $(CCINCLUDES) $(CCDEFINES)
CXXFLAGS = $(CCFLAGS)
LDFLAGS = -nostartfiles -Wl,-Map,../../$(OUTDIR)/$(NAME).map -T$(SCE_EE)/lib/app.cmd -L$(SCE_EE)/lib -lsn -lc -lm -lkernl
LDFLAGS = -nostartfiles -Wl,-Map,../../$(OUTDIR)/$(NAME).map -T$(SCE_EE)/lib/app.cmd -L$(SCE_EE)/lib -lsn -lc -lm -lpad -lkernl
include build/core.mk