flashcard-archive/archive/CycloDS/CycloDS_Evolution/Makefile

18 lines
410 B
Makefile

.PHONY: package
export TOPDIR := $(shell pwd $(CURDIR))
export BASE := CycloDS/$(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../../out
export COMMON := $(TOPDIR)/../../../common-kernels
package: directory CycloDS_Evolution_2.3.zip old
directory:
mkdir -p $(OUT)/$(BASE)
CycloDS_Evolution_2.3.zip: directory
cd CycloDS_Evolution_2.3 && zip -r $(OUT)/$(BASE)/$@ *
old: directory
make -C $@