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

20 lines
402 B
Makefile

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