Makefile fix.

This commit is contained in:
L. Bradley LaBoon 2015-02-10 21:42:23 -05:00
parent 8346da5225
commit 67906a920a

View File

@ -1,4 +1,5 @@
# Install prefix
# Install destination and prefix
DESTDIR ?=
PREFIX ?= /usr/local
# Build flags
@ -12,7 +13,7 @@ backly: backly.c Makefile
gcc $(FLAGS) -o backly backly.c
install: backly
install -m 0755 backly $(PREFIX)/bin
install -Dm 0755 backly $(DESTDIR)/$(PREFIX)/bin/backly
clean:
rm -f backly