mirror of
https://github.com/DS-Homebrew/flashcard-archive.git
synced 2024-11-23 02:09:16 +01:00
21 lines
776 B
Makefile
21 lines
776 B
Makefile
|
.PHONY: package
|
||
|
|
||
|
export TOPDIR := $(shell pwd $(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
|
||
|
|
||
|
directory:
|
||
|
mkdir -p $(OUT)/$(BASE)
|
||
|
|
||
|
r4i-gold.com_Gold_3DS_RTS.zip: directory
|
||
|
cd $(TOPDIR)/r4i-gold.com_Gold_3DS_RTS && zip -r -X $(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 -X $(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 -X $(OUT)/$(BASE)/$@ *
|