mirror of
https://github.com/ClaytonWWilson/miryoku_zmk.git
synced 2025-12-13 09:48:47 +00:00
Make makefile automatic
This commit is contained in:
parent
14d94ba4e8
commit
e344fcab98
4
.github/workflows/src/makefile
vendored
4
.github/workflows/src/makefile
vendored
@ -1,7 +1,9 @@
|
|||||||
# Copyright 2021 Manna Harbour
|
# Copyright 2021 Manna Harbour
|
||||||
# https://github.com/manna-harbour/miryoku
|
# 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
|
../%.yml: %.yml.m4 include/* makefile
|
||||||
m4 -P include/init.yml.m4 $< > $@
|
m4 -P include/init.yml.m4 $< > $@
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user