From 4d51324d7e3aa8c6a736f01a15a3671e91a61c99 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Thu, 20 Apr 2017 14:26:10 -0400 Subject: [PATCH] update to use restructured format --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 82eb483..02143ad 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ I2PD_PATH = i2pd +LIBI2PD_PATH = $(I2PD_PATH)/libi2pd +LIBI2PD_CLIENT_PATH = $(I2PD_PATH)/libi2pd_client CXX = g++ FLAGS = -g -Wall -std=c++11 -INCFLAGS = -I$(I2PD_PATH) +INCFLAGS = -I$(LIBI2PD_PATH) -I$(LIBI2PD_CLIENT_PATH) -I$(I2PD_PATH) CXXFLAGS = $(FLAGS) $(INCFLAGS) -LDFLAGS = -Wl,-rpath,/usr/local/lib -LIBS = $(I2PD_PATH)/libi2pd.a -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lssl -lcrypto -lpthread -lrt -lz +LDFLAGS = -Wl,-rpath,/usr/local/lib +LIBS = $(I2PD_PATH)/libi2pd.a -lboost_system -lboost_date_time -lboost_filesystem -lboost_program_options -lssl -lcrypto -lpthread -lrt -lz SOURCES = $(wildcard *.cpp) OBJECTS = $(SOURCES:.cpp=.o) @@ -49,7 +51,7 @@ clean-obj: rm -f $(OBJECTS) clean-bin: - rm -f keyinfo keygen famtool regaddr + rm -f keyinfo keygen famtool regaddr routerinfo clean: clean-i2pd clean-obj clean-bin