flashcard-archive/archive/EDGE/Makefile

24 lines
524 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
2023-08-12 23:43:36 +02:00
package: directory EDGE_OS_2.3.zip iEDGE_OS_2.3.zip old extdata
directory:
mkdir -p $(OUT)/$(BASE)
EDGE_OS_2.3.zip: directory
cd $(TOPDIR)/EDGE_OS_2.3 && zip -r $(OUT)/$(BASE)/$@ *
iEDGE_OS_2.3.zip: directory
cd $(TOPDIR)/iEDGE_OS_2.3 && zip -r $(OUT)/$(BASE)/$@ *
2023-08-12 23:43:36 +02:00
old: directory
make -C $@
extdata: directory
cp README.txt $(OUT)/$(BASE)