1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-20 10:07:45 +03:00
mal/bash/Makefile
Joel Martin 01c9731649 All: swap step9,A. Fixes for bash, C, perl.
step9_interop -> stepA_interop
stepA_more -> step9_try

C: fix glib headers
bash: behavior change of declare -A and pattern replacement.
perl: squelch new 5.18 warnings related to switch/given statement.

Also, include some in-progress interop related files.
2015-01-06 21:57:24 -06:00

22 lines
353 B
Makefile

SOURCES_BASE = types.sh reader.sh printer.sh
SOURCES_LISP = env.sh core.sh stepA_interop.sh
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
all: mal.sh
mal.sh: $(SOURCES)
cat $+ > $@
echo "#!/bin/bash" > $@
cat $+ | grep -v "^source " >> $@
chmod +x $@
clean:
rm -f mal.sh
.PHONY: stats
stats: $(SOURCES)
@wc $^
stats-lisp: $(SOURCES_LISP)
@wc $^