summaryrefslogtreecommitdiffstats
path: root/cyoa/Makefile
blob: 20d16ba44ef5f41cefb40fa78abe025e733b1ccd (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
default: all
.PHONY: default

all: players_book.pdf head_librarian_handbook.pdf solution_manual.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

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