forked from stchang/macrotypes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (35 loc) · 1.08 KB
/
Makefile
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
.PHONY: install install-turnstile install-examples test
.PHONY: uninstall forced-uninstall
R=raco
RI=$(R) pkg install
IFLAGS=--auto
RT=$(R) test
TFLAGS=-j 4
RR=$(R) pkg remove
install: install-turnstile install-examples
install-turnstile:
$(RI) $(IFLAGS) -t dir macrotypes-lib/ turnstile-lib/
install-examples:
$(RI) $(IFLAGS) -t dir rackunit-macrotypes-lib/ turnstile-example/ turnstile-test/
test:
$(RT) $(TFLAGS) -p turnstile-test
uninstall: # must be separate cmds, in case one fails
-$(RR) --auto turnstile-test
-$(RR) --auto turnstile-example
-$(RR) --auto macrotypes-test
-$(RR) --auto turnstile-example
-$(RR) --auto macrotypes-example
-$(RR) --auto turnstile-doc
-$(RR) --auto rackunit-macrotypes-lib
-$(RR) --auto turnstile-lib
-$(RR) --auto macrotypes-lib
forced-uninstall:
-$(RR) --force turnstile-test
-$(RR) --force turnstile-example
-$(RR) --force macrotypes-test
-$(RR) --force turnstile-example
-$(RR) --force macrotypes-example
-$(RR) --force turnstile-doc
-$(RR) --force rackunit-macrotypes-lib
-$(RR) --force turnstile-lib
-$(RR) --force macrotypes-lib