blob: 2bb1e1ec64bdde46e64b4a1ac046c3739bb60ffa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
TESTS = tests/types.mk tests/reader.mk tests/step9_interop.mk
SOURCES = util.mk readline.mk gmsl.mk types.mk reader.mk printer.mk \
env.mk core.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; \
|