1
1
mirror of https://github.com/kanaka/mal.git synced 2024-09-21 10:37:58 +03:00
mal/python/Makefile

33 lines
482 B
Makefile
Raw Normal View History

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