mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-05-01 13:12:30 +02:00
keygen added
This commit is contained in:
parent
85f4485214
commit
18f7221980
3 changed files with 89 additions and 0 deletions
27
Makefile
Normal file
27
Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue