mirror of
https://github.com/kanaka/mal.git
synced 2024-11-11 00:52:44 +03:00
18 lines
343 B
Makefile
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
|