d5f0d32b05
already submitted after Task 2 so no points
22 lines
411 B
Makefile
22 lines
411 B
Makefile
phase = 04
|
|
version = 1
|
|
name = MichaelChen
|
|
|
|
solutionname = Solution_Phase$(phase)_$(name)
|
|
target = $(solutionname)_V$(version).zip
|
|
package = $(solutionname).pdf AbstractStringBuilder.java CheckTimeTests.java
|
|
latexmkflags =
|
|
|
|
.PHONY : all dev
|
|
|
|
all : $(target)
|
|
|
|
dev : latexmkflags = -pvc
|
|
dev : all
|
|
|
|
$(target) : $(package)
|
|
zip -FSr $(target) $(package)
|
|
|
|
%.pdf : %.tex
|
|
latexmk -jobname="$*" $(latexmkflags) -pdf $<
|