diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/Makefile b/Makefile index 38d0ce0..5c1c8b3 100644 --- a/Makefile +++ b/Makefile | |||
@@ -1,13 +1,35 @@ | |||
1 | # chicanery | 1 | # chicanery |
2 | ## this makefile exists only to ... make ... cleaning up easier, really. | 2 | ## this makefile exists only to ... make ... cleaning up easier, really. |
3 | 3 | ||
4 | .PHONY: build install clean | 4 | NAME = chicanery |
5 | 5 | ||
6 | build: | 6 | default: |
7 | chicken-install -n | 7 | @echo "CHICANERY: subtly breaking scheme expectations" |
8 | 8 | @echo "Use R7RS and all of R7RS. The following schemes are supported:" | |
9 | install: | 9 | @sed -n 's/^\([^.].*\): *supported.*/- \1/p' Makefile |
10 | chicken-install | ||
11 | 10 | ||
11 | .PHONY: clean | ||
12 | clean: | 12 | clean: |
13 | rm -f *.sh *.import.* *.inline *.link *.o *.so *.types | 13 | rm -f $(NAME) *.sh *.import.* *.inline *.link *.o* *.so *.types |
14 | |||
15 | # Scheme implementation demoes | ||
16 | |||
17 | .PHONY: supported | ||
18 | supported: | ||
19 | |||
20 | .PHONY: chicken | ||
21 | chicken: supported chicanery.egg | ||
22 | csi -R chicanery | ||
23 | |||
24 | .PHONY: guile | ||
25 | guile: supported | ||
26 | echo '(import (chicanery))' > /tmp/chicanery.guile-bootstrap | ||
27 | guile -L . -l /tmp/chicanery.guile-bootstrap | ||
28 | |||
29 | .PHONY: gambit | ||
30 | gambit: supported chicanery\#.scm | ||
31 | gsi . -e '(import (chicanery))' - | ||
32 | |||
33 | .PHONY: chibi | ||
34 | chibi: supported | ||
35 | chibi-scheme -I. -mchicanery | ||