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

20 lines
313 B
Makefile
Raw Normal View History

SOURCES_BASE = types.sh reader.sh printer.sh
SOURCES_LISP = env.sh core.sh stepA_mal.sh
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
2016-02-15 05:57:31 +03:00
all:
true
dist: mal.sh mal
mal.sh: $(SOURCES)
cat $+ | grep -v "^source " > $@
mal: mal.sh
2015-02-11 02:32:19 +03:00
echo "#!/usr/bin/env bash" > $@
cat $< >> $@
chmod +x $@
clean:
rm -f mal.sh mal