flashcard-archive/archive/r4igold.cn/old/Makefile

15 lines
394 B
Makefile
Raw Normal View History

.PHONY: package
export TOPDIR := $(shell pwd $(CURDIR))
export BASE := r4igold.cn/$(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../../out
export COMMON := $(TOPDIR)/../../../common-kernels
package: directory r4igold.cn_Kernel_1.9.zip
directory:
mkdir -p $(OUT)/$(BASE)
r4igold.cn_Kernel_1.9.zip: directory
cd $(TOPDIR)/r4igold.cn_Kernel_1.9 && zip -r -X $(OUT)/$(BASE)/$@ *