Add 'make install' target

This commit is contained in:
Andrew Ayer
2013-01-25 21:37:05 -08:00
parent 84b4f7ca1a
commit 5e89e6d4c7

View File

@@ -1,6 +1,7 @@
CXX := c++
CXXFLAGS := -Wall -pedantic -ansi -Wno-long-long -O2
LDFLAGS := -lcrypto
PREFIX := /usr/local
OBJFILES = git-crypt.o commands.o crypto.o util.o
@@ -12,4 +13,7 @@ git-crypt: $(OBJFILES)
clean:
rm -f *.o git-crypt
.PHONY: all clean
install:
install -m 755 git-crypt $(PREFIX)/bin/
.PHONY: all clean install