22 lines
364 B
Makefile
22 lines
364 B
Makefile
phase = 01
|
|
version = 1
|
|
name = MichaelChen
|
|
|
|
solutionname = SpecialSession$(phase)_$(name)
|
|
target = $(solutionname)_V$(version).zip
|
|
package = $(solutionname).pdf
|
|
latexmkflags =
|
|
|
|
.PHONY : all dev
|
|
|
|
all : $(target)
|
|
|
|
dev : latexmkflags = -pvc
|
|
dev : all
|
|
|
|
$(target) : $(package)
|
|
zip -FSr $(target) $(package)
|
|
|
|
%.pdf : %.tex
|
|
latexmk -jobname="$*" $(latexmkflags) -pdf $<
|