python-cli.mk: Add stub of python-cli.mk

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2016-05-03 12:07:08 +00:00
commit bc640ab727

13
make/python-cli.mk Normal file
View file

@ -0,0 +1,13 @@
include $(MODDIR)/make/defs.mk
EXE ?= $(shell pwd).py
EXE_PATH ?= ./$(EXE)
all:
install:
clean:
distclean:
run:
python -m $(shell echo $(patsubst %.py,%,$(EXE)) | sed 's%^\./%%; s%/%.%g') $(EXE_ARGS)