summaryrefslogtreecommitdiffstats
path: root/cyoa/walkthrough/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cyoa/walkthrough/Makefile')
-rw-r--r--cyoa/walkthrough/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/cyoa/walkthrough/Makefile b/cyoa/walkthrough/Makefile
new file mode 100644
index 0000000..5b3cb54
--- /dev/null
+++ b/cyoa/walkthrough/Makefile
@@ -0,0 +1,14 @@
+TEX_FILES=$(shell find -maxdepth 1 -name "*.tex" -a ! -name "book.tex"| sort)
+
+default: book.pdf
+.PHONY: default
+
+all: book.pdf
+.PHONY: all
+
+book.pdf: book.tex $(TEX_FILES)
+ xelatex -jobname=book $^
+
+clean:
+ @rm -f *.log *.aux book.pdf
+.PHONY: clean