Commit | Line | Data |
---|---|---|
21986733 DM |
1 | SOURCES_BASE = hash.i types.i reader.i printer.i |
2 | SOURCES_LISP = env.i core.i stepA_mal.i | |
3 | SOURCES = $(SOURCES_BASE) $(SOURCES_LISP) | |
4 | ||
c4269f9b | 5 | .PHONY: all dist clean |
21986733 DM |
6 | |
7 | all: dist | |
8 | ||
9 | dist: mal | |
10 | ||
11 | mal: $(SOURCES) | |
12 | echo "#!/usr/bin/yorick -batch" > $@ | |
13 | cat $+ | grep -v "^require," >> $@ | |
14 | chmod +x $@ | |
15 | ||
16 | clean: | |
17 | rm -f mal |