1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-11 21:57:38 +03:00
mal/impls/tcl/Makefile

20 lines
341 B
Makefile
Raw Normal View History

2015-07-09 18:14:16 +03:00
SOURCES_BASE = mal_readline.tcl types.tcl reader.tcl printer.tcl
SOURCES_LISP = env.tcl core.tcl stepA_mal.tcl
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
all:
true
dist: mal.tcl mal
mal.tcl: $(SOURCES)
cat $+ | grep -v "^source " > $@
mal: mal.tcl
echo "#!/usr/bin/env tclsh" > $@
cat $< >> $@
chmod +x $@
clean:
rm -f mal.tcl mal