music-typesetting/Makefile

14 lines
195 B
Makefile
Raw Permalink Normal View History

2021-10-08 19:59:23 +02:00
SRC ?= supermario
2021-10-06 02:37:00 +02:00
2021-10-08 19:59:23 +02:00
ODIR ?= .
2021-10-06 02:37:00 +02:00
2021-10-08 19:59:23 +02:00
$(SRC).pdf:
lilypond -o $(ODIR)/$(SRC) $(SRC).ly
2021-10-06 02:37:00 +02:00
2021-10-08 19:59:23 +02:00
run: $(SRC).pdf
2021-10-06 02:37:00 +02:00
2021-10-08 19:59:23 +02:00
serve:
find . -name "*.ly" | entr gmake -B run ODIR=$(ODIR) SRC=$(SRC)
2021-10-06 02:37:00 +02:00
include Makefile.custom