Files
git-crypt/Makefile
Simon Kotlinski c2a9e48de5 Makefile: don't compile with -ansi
Fixes build on Cygwin due to [1].  Closes #19 on GitHub.

[1] https://cygwin.com/ml/cygwin/2014-01/msg00130.html
2014-06-08 15:57:19 -07:00

20 lines
359 B
Makefile

CXX := c++
CXXFLAGS := -Wall -pedantic -Wno-long-long -O2
LDFLAGS := -lcrypto
PREFIX := /usr/local
OBJFILES = git-crypt.o commands.o crypto.o gpg.o key.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