jw-python/test/trim-src/Makefile

22 lines
335 B
Makefile
Raw Normal View History

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