2023-11-06 01:56:09 -05:00
|
|
|
.PHONY: all copy clean
|
2023-11-02 03:57:19 -04:00
|
|
|
|
|
|
|
TOP=$(shell pwd)
|
|
|
|
|
|
|
|
# Set a default configuration.
|
|
|
|
ifeq ($(CONFIG),)
|
|
|
|
CONFIG=release
|
|
|
|
endif
|
|
|
|
|
|
|
|
all:
|
2023-11-06 01:56:09 -05:00
|
|
|
make -C rom/ee TOP=$(TOP) CONFIG=$(CONFIG)
|
2023-11-02 03:57:19 -04:00
|
|
|
make -C rom TOP=$(TOP) CONFIG=$(CONFIG)
|
|
|
|
|
|
|
|
clean:
|
2023-11-06 01:56:09 -05:00
|
|
|
make -C rom/ee TOP=$(TOP) CONFIG=$(CONFIG) clean
|
2023-11-02 03:57:19 -04:00
|
|
|
make -C rom TOP=$(TOP) CONFIG=$(CONFIG) clean
|
2023-11-06 01:56:09 -05:00
|
|
|
|
|
|
|
# copy to PCSX2 BIOS root
|
|
|
|
# NOTE: You will have to manually edit the PCSX2 ini file,
|
|
|
|
# since our ROM file does not have anything resembling a
|
|
|
|
# ROMDIR (and the BIOS selection menu only shows ROMs with a ROMDIR)
|
|
|
|
copy:
|
|
|
|
cp bin/ps2rom_$(CONFIG).rom ~/.config/PCSX2/bios
|