Skip to content

Commit

Permalink
add dependency, remove clutter from Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
c650 committed Feb 22, 2017
1 parent 840011f commit 74710dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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...
2 changes: 1 addition & 1 deletion configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 74710dc

Please sign in to comment.