Skip to content
Snippets Groups Projects
Commit 94ee133a authored by Lorenzo Pivetta's avatar Lorenzo Pivetta
Browse files

Add Makefile for INAU

parent d96086a6
No related branches found
No related tags found
No related merge requests found
Makefile 0 → 100644
NAME = sl-cmd-gui
MAIN = sl-cmd.py
DIRNAME = $(NAME:-gui=)
PY_FILES += $(wildcard src/*.py)
default: bin ${PY_FILES}
@cp ${PY_FILES} bin/${DIRNAME}
@echo "#!/bin/bash\nexec /runtime/bin/${DIRNAME}/${MAIN}" > bin/${NAME}
@chmod +x bin/${NAME} bin/${DIRNAME}/${MAIN}
bin:
@test -d $@ || mkdir -p $@/${DIRNAME}
clean:
@rm -fr bin/ src/*~
.PHONY: clean
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