flashcard-archive/archive/iTouchDS/Makefile

18 lines
321 B
Makefile
Raw Normal View History

2023-08-12 23:44:15 +02:00
.PHONY: package
export TOPDIR := $(CURDIR)
2023-08-12 23:44:15 +02:00
export BASE := $(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../out
export COMMON := $(TOPDIR)/../../common-kernels
package: directory old extdata
directory:
mkdir -p $(OUT)/$(BASE)
old: directory
make -C $@
extdata: directory
cp readme.txt $(OUT)/$(BASE)