mirror of
https://github.com/AGWA/git-crypt.git
synced 2025-12-12 07:40:32 -08:00
Add 'make install' target
This commit is contained in:
6
Makefile
6
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
|
||||
|
||||
Reference in New Issue
Block a user