Files
git-crypt/Makefile
2013-02-07 08:08:21 -08:00

20 lines
343 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 $(PREFIX)/bin/
.PHONY: all clean install