detective-game/Makefile

25 lines
600 B
Makefile

all: clue-weapons.pdf
all: clue-cards-suspects.pdf
all: clue-cards-rooms.pdf
all: clue-sheets.pdf
all: clue-board-parts-all.pdf
%.pdf: %.svg
inkscape --export-area-drawing -o $@ $<
%.pdf: src/%.svg
inkscape -o $@ $<
clue-board-parts-all.pdf: clue-board-part-0.pdf
clue-board-parts-all.pdf: clue-board-part-1.pdf
clue-board-parts-all.pdf: clue-board-part-2.pdf
clue-board-parts-all.pdf: clue-board-part-3.pdf
clue-board-parts-all.pdf: clue-board-part-4.pdf
pdfunite $+ $@
clue-board-part-%.svg: src/clue-board.svg board-parts.py
python3 board-parts.py $<
clean:
rm -f board-part-*.svg *.pdf