include ../make.problemlist PROBLEMDIRS=$(PROBLEMS) TEXPROBLEMS=$(PROBLEMDIRS:%=%/problem_statement/problem.en.tex) EXAMPLES=$(PROBLEMDIRS:%=%/examples.tex) all: docs docs: MidAtlantic2018.pdf Practice2018.pdf Handouts2018.pdf ContestGuide2018.pdf MidAtlantic2018.pdf: MidAtlantic2018.tex problemList.tex balloons.tex $(EXAMPLES) $(TEXPROBLEMS) pdflatex MidAtlantic2018 pdflatex MidAtlantic2018 ContestGuide2018.pdf: ContestGuide2018.tex contestRules.tex $(EXAMPLES) $(TEXPROBLEMS) pdflatex ContestGuide2018 pdflatex ContestGuide2018 Practice2018.pdf: Practice2018.tex romans/problem_statement/problem.en.tex romans/examples.tex pdflatex Practice2018 pdflatex Practice2018 Handouts2018.pdf: Handouts2018.tex problemList.tex balloons.tex $(EXAMPLES) $(TEXPROBLEMS) pdflatex Handouts2018 pdflatex Handouts2018 clean: rm -rf *.log *.aux *.log *.aux Work *.pdf