music-typesetting/Makefile

14 lines
195 B
Makefile

SRC ?= supermario
ODIR ?= .
$(SRC).pdf:
lilypond -o $(ODIR)/$(SRC) $(SRC).ly
run: $(SRC).pdf
serve:
find . -name "*.ly" | entr gmake -B run ODIR=$(ODIR) SRC=$(SRC)
include Makefile.custom