2013-12-10 17:05:42 +04:00
|
|
|
|
|
|
|
CC = g++
|
|
|
|
CFLAGS = -g -Wall -std=c++0x
|
|
|
|
OBJECTS = i2p.o base64.o NTCPSession.o RouterInfo.o Transports.o RouterContext.o \
|
|
|
|
NetDb.o LeaseSet.o Tunnel.o TunnelEndpoint.o TunnelGateway.o TransitTunnel.o \
|
2014-01-24 01:10:33 +04:00
|
|
|
I2NPProtocol.o Log.o Garlic.o HTTPServer.o Streaming.o Identity.o SSU.o
|
2013-12-10 17:05:42 +04:00
|
|
|
INCFLAGS =
|
2014-01-28 04:13:35 +04:00
|
|
|
LDFLAGS = -Wl,-rpath,/usr/local/lib -lcryptopp -lboost_system -lboost_filesystem -lpthread
|
2013-12-10 17:05:42 +04:00
|
|
|
LIBS =
|
|
|
|
|
|
|
|
all: i2p
|
|
|
|
|
|
|
|
i2p: $(OBJECTS)
|
|
|
|
$(CC) -o i2p $(OBJECTS) $(LDFLAGS) $(LIBS)
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .cc .C .cpp .o
|
|
|
|
|
|
|
|
.cpp.o :
|
|
|
|
$(CC) -o $@ -c $(CFLAGS) $< $(INCFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
.PHONY: clean
|