mirror of
https://github.com/DS-Homebrew/flashcard-archive.git
synced 2024-11-25 19:16:58 +01:00
27 lines
939 B
Makefile
27 lines
939 B
Makefile
.PHONY: package
|
|
|
|
export TOPDIR := $(shell pwd $(CURDIR))
|
|
export BASE := EZ-Flash/$(shell basename $(CURDIR))
|
|
export OUT := $(TOPDIR)/../../../out
|
|
export COMMON := $(TOPDIR)/../../../common-kernels
|
|
|
|
package: directory EZ-Flash_V_Kernel_1.80.zip EZ-Flash_V_Kernel_1.82.zip EZ-Flash_V_Kernel_1.83.zip EZ-Flash_V_Kernel_1.84.zip EZ-Flash_V_Kernel_1.86.zip
|
|
|
|
directory:
|
|
mkdir -p $(OUT)/$(BASE)
|
|
|
|
EZ-Flash_V_Kernel_1.80.zip: directory
|
|
cd $(TOPDIR)/EZ-Flash_V_Kernel_1.80 && zip -r -X $(OUT)/$(BASE)/$@ *
|
|
|
|
EZ-Flash_V_Kernel_1.82.zip: directory
|
|
cd $(TOPDIR)/EZ-Flash_V_Kernel_1.82 && zip -r -X $(OUT)/$(BASE)/$@ *
|
|
|
|
EZ-Flash_V_Kernel_1.83.zip: directory
|
|
cd $(TOPDIR)/EZ-Flash_V_Kernel_1.83 && zip -r -X $(OUT)/$(BASE)/$@ *
|
|
|
|
EZ-Flash_V_Kernel_1.84.zip: directory
|
|
cd $(TOPDIR)/EZ-Flash_V_Kernel_1.84 && zip -r -X $(OUT)/$(BASE)/$@ *
|
|
|
|
EZ-Flash_V_Kernel_1.86.zip: directory
|
|
cd $(TOPDIR)/EZ-Flash_V_Kernel_1.86 && zip -r -X $(OUT)/$(BASE)/$@ *
|