-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.toml
43 lines (32 loc) · 851 Bytes
/
BUILD.toml
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[serve]
deps=["mandelbrot", "public/cache"]
exec="node server.js ./mandelbrot"
[debug-serve]
deps=["mandelbrot_debug", "public/cache"]
exec="node server.js ./mandelbrot_debug"
[clean-serve]
deps=["mandelbrot", "public/cache", "clean"]
exec="node server.js ./mandelbrot"
["public/cache"]
exec="mkdir --parents $@"
[clean]
exec="rm -f public/cache/*"
[display]
deps=["%.png"]
exec="display $<"
["mandelbrot.png"]
deps=["mandelbrot"]
exec="time ./$<"
[check]
deps=["mandelbrot_debug"]
exec="valgrind ./$< -W 140 -H 90 -i 10"
[mandelbrot]
deps=["main.cc", "lodepng.cpp"]
exec="g++ -DNDEBUG -O3 -Wall $+ -pthread -o $@"
[mandelbrot_debug]
deps=["main.cc", "lodepng.cpp"]
exec="g++ -g -Wall $+ -pthread -o $@"
[docker-build]
exec="sudo docker build -t eobrain/almondbread ."
[docker-run]
exec="sudo docker run -i -p 3333:3333 eobrain/almondbread"