Skip to content
Snippets Groups Projects
Commit b70d119b authored by Roberto Borghes's avatar Roberto Borghes
Browse files

Applied standard folder organization, added Simulation DB property

parent 75b6be25
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
NAME = pilatusxm-srv
MAIN = PilatusXM.py
DIRNAME = $(NAME:-srv=)
MODNAME = $(MAIN:.py=)
default: bin
@cp src/*.py bin/${DIRNAME}
@echo "#!/usr/bin/env python\nimport sys\nsys.path.append(sys.path[0]+'/${DIRNAME}')\nfrom ${MODNAME} import main\nif __name__ == '__main__':\n main()\n" > bin/${NAME}
@chmod +x bin/${NAME} bin/${DIRNAME}/${MAIN}
bin:
@test -d $@ || mkdir -p $@/${DIRNAME}
clean:
@rm -fr bin/ src/*~ src/*.pyc
.PHONY: clean
This diff is collapsed.
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment