Remove disabled included statements which are not going to be enabled anymore. Signed-off-by: Jan Lindemann <jan@janware.com>
23 lines
506 B
Makefile
23 lines
506 B
Makefile
include $(JWBDIR)/make/defs.mk
|
|
include $(JWBDIR)/make/py-defs.mk
|
|
|
|
EXE ?= $(firstword $(wildcard main.py runme.py test.py *.py))
|
|
EXE_ARGS ?=
|
|
PYTHON_RUNNER ?= $(PYTHON)
|
|
|
|
all:
|
|
install:
|
|
clean:
|
|
distclean:
|
|
test: all
|
|
|
|
run:
|
|
$(PYTHON_RUNNER) $(EXE) $(EXE_ARGS)
|
|
|
|
run.sh:
|
|
echo -e "#!/bin/bash\n\nexport PYTHONPATH=$(PYTHONPATH)\nset -x\nexec $(PYTHON) $(EXE)" '"$$@"' > $@.tmp
|
|
chmod 755 $@.tmp
|
|
mv $@.tmp $@
|
|
clean.py-run:
|
|
rm -rf run.sh
|
|
clean: clean.py-run
|