mirror of
https://github.com/DS-Homebrew/flashcard-archive.git
synced 2024-11-25 02:56:59 +01:00
e8f78c0956
This fixes building on macOS.
24 lines
708 B
Makefile
24 lines
708 B
Makefile
.PHONY: package
|
|
|
|
export TOPDIR := $(CURDIR)
|
|
export BASE := $(shell basename $(CURDIR))
|
|
export OUT := $(TOPDIR)/../../out
|
|
export COMMON := $(TOPDIR)/../../common-kernels
|
|
|
|
package: directory 3DSLink_DS_V4.0B2.zip 3dslink.com_Blue_Kernel_1.64.zip Boot_Card_Blue_Card_V4.0B1.zip extdata
|
|
|
|
directory:
|
|
mkdir -p $(OUT)/$(BASE)
|
|
|
|
3DSLink_DS_V4.0B2.zip: directory
|
|
cd $(TOPDIR)/3DSLink_DS_V4.0B2 && zip -r $(OUT)/$(BASE)/$@ *
|
|
|
|
Boot_Card_Blue_Card_V4.0B1.zip: directory
|
|
cd $(TOPDIR)/Boot_Card_Blue_Card_V4.0B1 && zip -r $(OUT)/$(BASE)/$@ *
|
|
|
|
3dslink.com_Blue_Kernel_1.64.zip: directory
|
|
cd $(TOPDIR)/3dslink.com_Blue_Kernel_1.64 && zip -r $(OUT)/$(BASE)/$@ *
|
|
|
|
extdata: directory
|
|
cp 3dslinkblue.jpg $(OUT)/$(BASE)
|