flashcard-archive/archive/EDGE/Makefile

24 lines
543 B
Makefile
Raw Normal View History

.PHONY: package
export TOPDIR := $(shell pwd $(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
2023-08-24 20:30:24 +02:00
cd $(TOPDIR)/EDGE_OS_2.3 && zip -r -X $(OUT)/$(BASE)/$@ *
iEDGE_OS_2.3.zip: directory
2023-08-24 20:30:24 +02:00
cd $(TOPDIR)/iEDGE_OS_2.3 && zip -r -X $(OUT)/$(BASE)/$@ *
2023-08-12 23:43:36 +02:00
old: directory
make -C $@
extdata: directory
cp README.txt $(OUT)/$(BASE)