mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
556 B
27 lines
556 B
11 years ago
|
|
||
|
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 \
|
||
|
I2NPProtocol.o Log.o Garlic.o HTTPServer.o
|
||
|
INCFLAGS =
|
||
|
LDFLAGS = -Wl,-rpath,/usr/local/lib -lcryptopp -lboost_system -lboost_filesystem
|
||
|
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
|