mirror of
https://github.com/DS-Homebrew/flashcard-archive.git
synced 2024-11-25 19:16:58 +01:00
e8f78c0956
This fixes building on macOS.
24 lines
923 B
Makefile
24 lines
923 B
Makefile
.PHONY: package
|
|
|
|
export TOPDIR := $(CURDIR)
|
|
export BASE := r4i-gold.com/$(shell basename $(CURDIR))
|
|
export OUT := $(TOPDIR)/../../../out
|
|
export COMMON := $(TOPDIR)/../../../common-kernels
|
|
|
|
package: directory r4i-gold.com_Gold_3DS_RTS.zip r4i-gold.com_V1.4.1-1.4.4_DEMON_1.80.zip r4i-gold.com_V1.4.1-1.4.4_FWUpdate-1.4.4.zip r4i-gold.com_Pro_2013_Wood_R4_1.51.zip
|
|
|
|
directory:
|
|
mkdir -p $(OUT)/$(BASE)
|
|
|
|
r4i-gold.com_Gold_3DS_RTS.zip: directory
|
|
cd $(TOPDIR)/r4i-gold.com_Gold_3DS_RTS && zip -r $(OUT)/$(BASE)/$@ *
|
|
|
|
r4i-gold.com_V1.4.1-1.4.4_DEMON_1.80.zip: directory
|
|
cd $(TOPDIR)/r4i-gold.com_V1.4.1-1.4.4_DEMON_1.80 && zip -r $(OUT)/$(BASE)/$@ *
|
|
|
|
r4i-gold.com_V1.4.1-1.4.4_FWUpdate-1.4.4.zip: directory
|
|
cd $(TOPDIR)/r4i-gold.com_V1.4.1-1.4.4_FWUpdate-1.4.4 && zip -r $(OUT)/$(BASE)/$@ *
|
|
|
|
r4i-gold.com_Pro_2013_Wood_R4_1.51.zip: directory
|
|
cd $(TOPDIR)/r4i-gold.com_Pro_2013_Wood_R4_1.51 && zip -r $(OUT)/$(BASE)/$@ *
|