flashcard-archive/archive/SuperCard/DSONE/Makefile
2023-08-24 11:30:24 -07:00

15 lines
450 B
Makefile

.PHONY: package
export TOPDIR := $(shell pwd $(CURDIR))
export BASE := SuperCard/$(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../../out
export COMMON := $(TOPDIR)/../../../common-kernels
package: directory SuperCard_DSONE_EOS_sp6_20130129_5850fix.zip
directory:
mkdir -p $(OUT)/$(BASE)
SuperCard_DSONE_EOS_sp6_20130129_5850fix.zip: directory
cd $(TOPDIR)/SuperCard_DSONE_EOS_sp6_20130129_5850fix && zip -r -X $(OUT)/$(BASE)/$@ *