2023-11-06 01:56:09 -05:00
|
|
|
NAME=ps2rom_ee
|
|
|
|
TARGET=ee
|
|
|
|
KIND=lib
|
|
|
|
|
|
|
|
INCS = -I$(TOP)/rom
|
|
|
|
|
|
|
|
CFLAGS = -ffreestanding -fno-stack-protector
|
|
|
|
CXXFLAGS = -fno-exceptions -fno-rtti
|
|
|
|
|
|
|
|
# sources
|
|
|
|
SRCS = _ee_start.s \
|
2023-11-06 06:36:49 -05:00
|
|
|
ee_sio.c \
|
2023-11-06 01:56:09 -05:00
|
|
|
ee_start.c
|
|
|
|
|
|
|
|
.PHONY: all clean clean-products
|
|
|
|
|
|
|
|
include $(TOP)/build/core.mk
|
|
|
|
|
|
|
|
all: $(BINDIR)/lib$(FINALNAME).a
|
|
|
|
|
|
|
|
$(BINDIR)/:
|
|
|
|
mkdir -p $@
|
|
|
|
|
|
|
|
$(OBJDIR)/:
|
|
|
|
mkdir -p $@
|
|
|
|
|
|
|
|
clean: clean-products
|
|
|
|
|
|
|
|
include $(TOP)/build/products/$(KIND).mk
|