flashcard-archive/archive/ndstt.com/Makefile

15 lines
336 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
package: directory extdata
directory:
mkdir -p $(OUT)/$(BASE)
extdata: directory
cp readme.txt $(OUT)/$(BASE)
cp DSTT-backup.bin $(OUT)/$(BASE)