mirror of
https://github.com/AGWA/git-crypt.git
synced 2025-12-26 12:50:39 -08:00
20 lines
353 B
Makefile
20 lines
353 B
Makefile
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
|
|
|
|
all: git-crypt
|
|
|
|
git-crypt: $(OBJFILES)
|
|
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f *.o git-crypt
|
|
|
|
install:
|
|
install -m 755 git-crypt $(DESTDIR)$(PREFIX)/bin/
|
|
|
|
.PHONY: all clean install
|