1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
mal/guile/Makefile
2019-03-20 23:34:21 -05:00

18 lines
343 B
Makefile

SOURCES_BASE = readline.scm types.scm reader.scm printer.scm
SOURCES_LISP = env.scm core.scm stepA_mal.scm
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
all:
true
dist: mal.scm
mal.scm: $(SOURCES)
echo "#! /usr/bin/env guile" > $@
echo "!#" >> $@
cat $+ | sed $(foreach f,$(+),-e 's/(readline)//') >> $@
chmod +x $@
clean:
rm -f mal.scm