jw-python/test/trim-src/Makefile
Jan Lindemann 1f122fae82 Rename the MODDIR makefile variable to JWBDIR
Rename the omnipresent MODDIR variable to JWBDIR, since that's more to the
point.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-29 23:32:20 +02:00

22 lines
343 B
Makefile

TOPDIR = ../..
MAKEFLAGS += --no-builtin-rules
INPUT = test.mk
EXE = $(TOPDIR)/scripts/trim-src.py
EXE_ARGS = beautify $(INPUT)
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/py-run.mk
run: $(INPUT)
$(INPUT):
cp Makefile $@
clean.test:
rm -f $(INPUT)
clean: clean.test
help:
python3 $(EXE) -h
python3 $(EXE) beautify -h