about summary refs log tree commit diff stats
path: root/Makefile
blob: fabb64ee08ac3d4c8c2a89171eb4cc2978b3c882 (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
40
41
42
43
44
45
# chicanery
## this makefile exists only to ... make ... cleaning up easier, really.

NAME = chicanery

.PHONY: help
help:
	@echo "CHICANERY: subtly breaking scheme expectations"
	@echo "The following schemes are supported:"
	@sed -n 's/^\([^.].*\): *supported.*/- \1/p' Makefile
	@echo; echo "The following schemes are NOT supported:"
	@sed -n 's/^\([^.].*\): *unsupported.*/- \1/p' Makefile

.PHONY: clean
clean:
	rm -f $(NAME) *.sh *.import.* *.inline *.link *.o* *.so *.types *.c

# Scheme implementation demoes

.PHONY: supported unsupported
supported:
unsupported:

.PHONY: chicken
chicken: supported chicanery.egg
	csi -R chicanery

.PHONY: guile
guile: supported
	echo '(import (chicanery))' > /tmp/chicanery.guile-bootstrap
	guile -L . -l /tmp/chicanery.guile-bootstrap

.PHONY: gambit
gambit: supported chicanery\#.scm
	gsi . -e '(import (chicanery))' -

.PHONY: chibi
chibi: supported
	chibi-scheme -I. -mchicanery

.PHONY: cyclone
cyclone: unsupported
	@echo "Cyclone is unsupported."
	@echo "See https://github.com/justinethier/cyclone/issues/413."
	@false