blob: 111039710bdf100b092ef252b521a4cbd5687cc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
TESTS = tests/types.mk tests/reader.mk tests/step9_interop.mk
SOURCES = util.mk readline.mk gmsl.mk types.mk reader.mk stepA_more.mk
mal.mk: $(SOURCES)
echo "#!/usr/bin/make -f" > $@
cat $+ | grep -v "^include " >> $@
chmod +x $@
clean:
rm -f mal.mk
.PHONY: stats tests $(TESTS)
stats: $(SOURCES)
@wc $^
tests: $(TESTS)
$(TESTS):
@echo "Running $@"; \
make -f $@ || exit 1; \
|