aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..8ab718e
--- /dev/null
+++ b/makefile
@@ -0,0 +1,39 @@
1# tickwatch
2# Author: Euxane TRAN-GIRARD
3# Licence: EUPL-1.2
4
5
6tickwatch: $(wildcard *.nim)
7 nim c \
8 ${NIM_FLAGS} \
9 -d:release \
10 -o:tickwatch \
11 main.nim
12
13.PHONY: clean
14clean:
15 rm -f tickwatch
16
17.PHONY: check
18check:
19 nim r \
20 ${NIM_FLAGS} \
21 -d:test \
22 main.nim
23
24.PHONY: check-loop
25check-loop:
26 watchexec -cclear -r \
27 nim r \
28 ${NIM_FLAGS} \
29 -d:test \
30 main.nim
31
32.PHONY: install
33install:
34 nim c \
35 ${NIM_FLAGS} \
36 -d:release \
37 -o:tickwatch \
38 --outdir=${DESTDIR}/bin \
39 main.nim