diff --git a/Makefile b/Makefile index 14942fa..c5f339b 100644 --- a/Makefile +++ b/Makefile @@ -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