flashcard-archive/archive/EZ-Flash/old/Makefile
2023-08-24 11:30:24 -07:00

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)/$@ *