1
0
mirror of https://github.com/PurpleI2P/i2pd-tools synced 2025-01-11 23:37:53 +00:00
i2pd-tools/Makefile
2016-09-16 11:28:01 -04:00

28 lines
540 B
Makefile

CXX = g++
CXXFLAGS = -g -Wall -std=c++11
OBJECTS = keygen.o
INCFLAGS = -I"../i2pd"
LDFLAGS = -Wl,-rpath,/usr/local/lib
LIBS = ../i2pd/libi2pd.a -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lssl -lcrypto -lpthread -lrt -lz
all: keygen
keygen: $(OBJECTS)
$(CXX) -o keygen $(OBJECTS) $(LDFLAGS) $(LIBS)
.SUFFIXES:
.SUFFIXES: .c .cc .C .cpp .o
.cpp.o :
$(CXX) -o $@ -c $(CXXFLAGS) $< $(INCFLAGS)
count:
wc *.c *.cc *.C *.cpp *.h *.hpp
clean:
rm -f *.o keygen
.PHONY: all
.PHONY: count
.PHONY: clean