flashcard-archive/archive/r4ultra.com/Makefile
lifehackerhansol e8f78c0956
Makefile: use $(CURDIR) directly without $(shell pwd)
This fixes building on macOS.
2024-10-03 13:52:05 -07:00

23 lines
524 B
Makefile

.PHONY: package
export TOPDIR := $(CURDIR)
export BASE := $(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../out
export COMMON := $(TOPDIR)/../../common-kernels
package: directory old BL2CK_1.31.0.zip R4_Ultra_AKAIO_1.8.6a.zip extdata
directory:
mkdir -p $(OUT)/$(BASE)
old: directory
make -C $@
include $(COMMON)/BL2CK/R4iTT/Makefile
R4_Ultra_AKAIO_1.8.6a.zip: directory
cd $(TOPDIR)/R4_Ultra_AKAIO_1.8.6a && zip -r $(OUT)/$(BASE)/$@ *
extdata: directory
cp -r R4i_Ultra_F* README.txt $(OUT)/$(BASE)