flashcard-archive/archive/g6flash.com_gbalpha.com/Makefile

15 lines
403 B
Makefile
Raw Normal View History

.PHONY: package
export TOPDIR := $(CURDIR)
export BASE := $(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../out
export COMMON := $(TOPDIR)/../../common-kernels
package: directory g6flash.com_gbalpha.com_Kernel_4.9a.zip
directory:
mkdir -p $(OUT)/$(BASE)
g6flash.com_gbalpha.com_Kernel_4.9a.zip: directory
cd $(TOPDIR)/g6flash.com_gbalpha.com_Kernel_4.9a && zip -r $(OUT)/$(BASE)/$@ *