flashcard-archive/archive/acekard.com/Makefile
lifehackerhansol a742b68bee
Add Makefile system to create frontend
Run `./build.sh` in `archive` folder. It will loop through all kernels,
and copy to `<project-root>/out`.
2023-08-13 23:03:45 -07:00

24 lines
512 B
Makefile

.PHONY: package directory AceKard_AceKard+ AceKard_2_2.1 AceKard_2i AceKard_RPG
export TOPDIR := $(shell pwd $(CURDIR))
export BASE := $(shell basename $(CURDIR))
export OUT := $(TOPDIR)/../../out
export COMMON := $(TOPDIR)/../../common-kernels
package: directory AceKard_AceKard+ AceKard_2_2.1 AceKard_2i AceKard_RPG
directory:
mkdir -p $(OUT)/$(BASE)
AceKard_AceKard+: directory
make -C $@
AceKard_2_2.1: directory
make -C $@
AceKard_2i: directory
make -C $@
AceKard_RPG: directory
make -C $@