-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMf-linklet
32 lines (24 loc) · 1.1 KB
/
Mf-linklet
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
# To build various ".rktl" files from sources, set LINKLET_RACKET to the
# directory of a Git clone of the linklet-based Racket implementation,
# and then use `make schemify`
local-linklets: linklet/schemify.rktl
all-linklets:
$(MAKE) -f Mf-linklet local-linklets
$(MAKE) -f Mf-linklet thread
$(MAKE) -f Mf-linklet port
$(MAKE) -f Mf-linklet regexp
$(MAKE) -f Mf-linklet expander
linklet/schemify.rktl: $(SCHEMIFY_SRC_DEPS)
$(LINKLET_RACKET)/racket/bin/racket $(LINKLET_RACKET)/pkgs/expander/bootstrap-run.rkt -t schemify/schemify.rkt -c compiled/cache-src ++knot read - -s -x -o linklet/schemify.rktl
expander:
cd $(LINKLET_RACKET)/pkgs/expander ; $(MAKE) expander-src
cp $(LINKLET_RACKET)/pkgs/expander/compiled/expander.rktl linklet/
port:
cd $(LINKLET_RACKET)/pkgs/port ; $(MAKE) port-src
cp $(LINKLET_RACKET)/pkgs/port/compiled/port.rktl linklet/
regexp:
cd $(LINKLET_RACKET)/pkgs/regexp ; $(MAKE) regexp-src
cp $(LINKLET_RACKET)/pkgs/regexp/compiled/regexp.rktl linklet/
thread:
cd $(LINKLET_RACKET)/pkgs/thread ; $(MAKE) thread-src
cp $(LINKLET_RACKET)/pkgs/thread/compiled/thread.rktl linklet/