diff --git a/.github/workflows/src/makefile b/.github/workflows/src/makefile index 2f47642..4e8116d 100644 --- a/.github/workflows/src/makefile +++ b/.github/workflows/src/makefile @@ -1,7 +1,9 @@ # Copyright 2021 Manna Harbour # https://github.com/manna-harbour/miryoku -all: ../build-example-corne-nice_nano.yml ../build-example-tbkmini-nice_nano_v2.yml ../build-inputs.yml ../test-boards.yml ../test-build.yml ../test-configs.yml ../test-controllers.yml ../test-shields.yml +source := $(wildcard *.yml.m4) +targets := $(source:%.yml.m4=../%.yml) +all: $(targets) ../%.yml: %.yml.m4 include/* makefile m4 -P include/init.yml.m4 $< > $@