mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
Temporary Makefile and main
This commit is contained in:
parent
bf8a61232e
commit
2c73daa4e2
2 changed files with 54 additions and 0 deletions
26
Makefile
Normal file
26
Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue