commit 1cdb1ef1324f5c920ad9e3048c676f97ba6429fb parent 56ba3f3bc8dd9d1b37723fa99a3b43bbb8ef5116 Author: tongong <tongong@gmx.net> Date: Tue, 8 Jun 2021 21:59:37 +0200 added makefile Diffstat:
A | Makefile | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -0,0 +1,18 @@ +PREFIX := /usr/local + +CC := gcc + +timetracker-save: timetracker-save.c + ${CC} -o $@ $< + +clean: + rm -f timetracker-save + +install: timetracker-save + install -D -m755 timetracker ${DESTDIR}${PREFIX}/bin/timetracker + install -D -m755 timetracker-save ${DESTDIR}${PREFIX}/bin/timetracker-save + +uninstall: + rm -f ${DESTDIR}${PREFIX}/bin/timetracker ${DESTDIR}${PREFIX}/bin/timetracker-save + +.PHONY: install uninstall