pinephone-screenlock/Makefile
2021-02-23 22:12:48 +00:00

11 lines
225 B
Makefile

PREFIX = /usr/local
.PHONY: install
screenlock: screenlock.c
gcc -o screenlock screenlock.c -lX11
install: screenlock
mkdir -p $(PREFIX)/bin
cp -f screenlock $(PREFIX)/bin/screenlock
chmod 755 $(PREFIX)/bin/screenlock