blob: 8ab718e132ed6b6cebab74ed0f22e3aed00b71b5 (
plain)
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
|
# tickwatch
# Author: Euxane TRAN-GIRARD
# Licence: EUPL-1.2
tickwatch: $(wildcard *.nim)
nim c \
${NIM_FLAGS} \
-d:release \
-o:tickwatch \
main.nim
.PHONY: clean
clean:
rm -f tickwatch
.PHONY: check
check:
nim r \
${NIM_FLAGS} \
-d:test \
main.nim
.PHONY: check-loop
check-loop:
watchexec -cclear -r \
nim r \
${NIM_FLAGS} \
-d:test \
main.nim
.PHONY: install
install:
nim c \
${NIM_FLAGS} \
-d:release \
-o:tickwatch \
--outdir=${DESTDIR}/bin \
main.nim
|