1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 18:48:12 +03:00
mal/python/Makefile
Joel Martin 90f618cbe7 All: rename stepA_interop to stepA_mal
Also, add missed postscript interop tests.
2015-02-28 11:09:54 -06:00

33 lines
481 B
Makefile

TESTS =
SOURCES_BASE = mal_readline.py mal_types.py reader.py printer.py
SOURCES_LISP = env.py core.py stepA_mal.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; \