jw-pkg/make/python-cli.mk

13 lines
250 B
Makefile
Raw Normal View History

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)