flashcard-archive/archive/acekard.com/AceKard_AceKard+/Makefile

15 lines
376 B
Makefile
Raw Normal View History

.PHONY: package
export TOPDIR := $(shell pwd $(CURDIR))
export BASE := acekard.com/$(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../../out
export COMMON := $(TOPDIR)/../../../common-kernels
package: directory AceKard_akMenu_4.07.zip
directory:
mkdir -p $(OUT)/$(BASE)
AceKard_akMenu_4.07.zip: directory
cd AceKard_akMenu_4.07 && zip -r $(OUT)/$(BASE)/$@ *