mirror of
https://github.com/kanaka/mal.git
synced 2024-11-10 12:47:45 +03:00
01c9731649
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.
33 lines
485 B
Makefile
33 lines
485 B
Makefile
|
|
TESTS =
|
|
|
|
|
|
SOURCES_BASE = mal_readline.py mal_types.py reader.py printer.py
|
|
SOURCES_LISP = env.py core.py stepA_interop.py
|
|
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 tests $(TESTS)
|
|
|
|
stats: $(SOURCES)
|
|
@wc $^
|
|
stats-lisp: $(SOURCES_LISP)
|
|
@wc $^
|
|
|
|
tests: $(TESTS)
|
|
|
|
$(TESTS):
|
|
@echo "Running $@"; \
|
|
python $@ || exit 1; \
|