phase = 05 version = 1 name = MichaelChen solutionname = Solution_Phase$(phase)_$(name) target = $(solutionname)_V$(version).zip package = $(solutionname).pdf Duration.java DurationTest.java Mutation_Testing_Sample_Model.xml latexmkflags = .PHONY : all dev all : $(target) dev : latexmkflags = -pvc -interaction=nonstopmode dev : all $(target) : $(package) zip -FSr $(target) $(package) %.pdf : %.tex latexmk -jobname="$*" $(latexmkflags) -pdf $<