From 74710dcf601b805e49d1644ac726d88b5c40639f Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 22 Feb 2017 18:36:31 -0500 Subject: [PATCH] add dependency, remove clutter from Makefile --- Makefile | 7 ++----- configure.sh | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5c68126..a9aad51 100644 --- a/Makefile +++ b/Makefile @@ -17,9 +17,6 @@ build: ${SRC} clean: rm ./bin/bot.out -# to compile the shared libraries: -# g++ --std=c++17 -Os -c -fPIC -o ./bin/sayhi.o ./src/Plugins/sayhi.cpp -# g++ -rdynamic -shared -o ./bin/sayhi.so ./bin/sayhi.o - -# or something like: +# for dynamic plugins: # g++ --std=c++17 -Os -fPIC -rdynamic -shared -o ./bin/iplookup.so ./src/Plugins/http.cpp ./src/Plugins/iplookup.cpp -lcurl +# obviously don't link curl or compile wih unnecessary files... diff --git a/configure.sh b/configure.sh index 83bf2f4..dd7d378 100755 --- a/configure.sh +++ b/configure.sh @@ -2,4 +2,4 @@ echo "Configuring... Checking dependencies..." -sudo apt install libcurl4-openssl-dev libssl-dev +sudo apt install libcurl4-openssl-dev libssl-dev build-essential