flashcard-archive/archive/acekard.com/Makefile
lifehackerhansol e8f78c0956
Makefile: use $(CURDIR) directly without $(shell pwd)
This fixes building on macOS.
2024-10-03 13:52:05 -07:00

24 lines
499 B
Makefile

.PHONY: package directory AceKard_AceKard+ AceKard_2_2.1 AceKard_2i AceKard_RPG
export TOPDIR := $(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 $@