mirror of
https://github.com/kastdeur/pipeband-music.git
synced 2024-12-22 08:13:31 +01:00
Setup Makefile
This commit is contained in:
parent
83dac93ad6
commit
2e430ce620
1 changed files with 24 additions and 0 deletions
24
Makefile
Normal file
24
Makefile
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
LILY := ./build
|
||||||
|
|
||||||
|
AUX = README.md Makefile \
|
||||||
|
build defs.ily \
|
||||||
|
init-sets make-set \
|
||||||
|
scores2json.py \
|
||||||
|
tuneoverview shadowdir
|
||||||
|
#.git .gitignore
|
||||||
|
|
||||||
|
SRCDIRS := 2-4_marches 3-4_marches 4-4_marches 5-4_marches \
|
||||||
|
6-8_marches 9-8_marches \
|
||||||
|
standards template \
|
||||||
|
airs hornpipes jigs reels strathspeys \
|
||||||
|
other christmas sinterklaas suites
|
||||||
|
|
||||||
|
LYSRCS := $(foreach dir,$(SRCDIRS),$(wildcard $(dir)/**/*.ly) $(wildcard $(dir)/*.ly))
|
||||||
|
PDFOBJS = $(patsubst %.ly,%.pdf,$(LYSRCS))
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all: $(PDFOBJS)
|
||||||
|
|
||||||
|
# Pattern rules
|
||||||
|
%.pdf %.preview.pdf %.preview.png &: %.ly
|
||||||
|
$(LILY) $<
|
Loading…
Reference in a new issue