mirror of
https://github.com/TheOnlyZac/sly1.git
synced 2024-12-04 19:56:22 +00:00
50a20af443
This commit makes a new build/ folder which contains auxiliary Makefiles that are used to assist the build. In theory, later on, (hinted by the documentation of build/core.mk), it may be possible to even add IOP target support, but for now, I have not yet added this to the buildsystem. It should be relatively easy, however.
22 lines
502 B
Makefile
22 lines
502 B
Makefile
NAME := SCUS_971.98
|
|
TARGET := ee
|
|
TARGETTYPE := bin
|
|
|
|
SDIR = src/P2
|
|
SRCS := $(wildcard $(SDIR)/*.cpp)
|
|
|
|
# Custom compiler flags
|
|
CCFLAGS = -Wall -Wno-unused $(BASEFLAGS) -fno-strict-aliasing -g -I$(SCE_COMMON)/include -I$(SCE_EE)/include -I$(SDIR)
|
|
CXXFLAGS = $(CCFLAGS) -fno-exceptions
|
|
LDFLAGS = -nostartfiles -Wl,-Map,$(NAME).map -T$(SCE_EE)/lib/app.cmd -L$(SCE_EE)/lib -lsn -lc -lm -lkernl
|
|
|
|
|
|
include build/core.mk
|
|
|
|
.PHONY: all clean clean-products
|
|
|
|
all: $(NAME)
|
|
|
|
clean: clean-products
|
|
rm -f $(NAME).map
|