-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (20 loc) · 725 Bytes
/
Makefile
File metadata and controls
27 lines (20 loc) · 725 Bytes
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
MAKEFLAGS += --no-builtin-rules --silent --keep-going --jobs 12
convector.jar: $(shell find src -name '*.java')
mkdir -p tmp
pkill -xf 'java -ea -jar convector.jar 3434' || true
LANG=en_US.UTF-8 javac -classpath bin -sourcepath src -source 1.8 -d tmp $?
cd tmp; zip -q -r -m ../$@ *; cd ../src; zip -q ../$@ `find . -type f -not -name '*.java'`
rmdir tmp
serve: convector.jar
cd src; java -ea -jar ../convector.jar 3434
test: test/*.svg test/*.ps
examples: examples/*.svg examples/*.ps
%.svg %.ps: convector.jar
scripts/montage.sh $@
touch $@
doc:
doxygen doc/Doxyfile
sonar: convector.jar
sonar-runner
DISPLAY=:0 xdg-open .sonar/issues-report/issues-report-light.html
.PHONY: serve test examples doc sonar