summaryrefslogtreecommitdiffstats
path: root/cyoa/Makefile
blob: 79ddc77edc56070e2fb64549b11223d76a053929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
default: all
.PHONY: default

all: players_book.pdf head_librarian_handbook.pdf solution_manual.pdf walkthrough.pdf
.PHONY: all

players_book.pdf:
	$(MAKE) -C players_book
	@mv players_book/book.pdf $@
.PHONY: players_book.pdf

head_librarian_handbook.pdf:
	$(MAKE) -C head_librarian_handbook
	@mv head_librarian_handbook/book.pdf $@
.PHONY: head_librarian_handbook.pdf

solution_manual.pdf:
	$(MAKE) -C solution_manual
	@mv solution_manual/book.pdf $@
.PHONY: solution_manual.pdf

walkthrough.pdf:
	$(MAKE) -C walkthrough
	@mv walkthrough/book.pdf $@
.PHONY: walkthrough.pdf

clean:
	@$(MAKE) -C players_book clean
	@$(MAKE) -C head_librarian_handbook clean
	@$(MAKE) -C solution_manual clean
	@$(MAKE) -C walkthrough clean
	@rm -f *.log *.aux players_book.pdf head_librarian_handbook.pdf pages.tex walkthrough.pdf solution_manual.pdf
.PHONY: clean