mirror of
https://github.com/DS-Homebrew/flashcard-archive.git
synced 2024-11-28 12:34:17 +01:00
e8f78c0956
This fixes building on macOS.
23 lines
524 B
Makefile
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)
|