diff --git a/examples/README.md b/examples/README.md index 4bc95e7..473efb8 100644 --- a/examples/README.md +++ b/examples/README.md @@ -1,3 +1,7 @@ -Compile example files with following gcc flags : -================================================= -``gcc -Wall -I/usr/local/include -L/usr/local/lib -o bot bot.c -lstrophe -lssl -lresolv -lexpat`` +Build Instructions +================== + +Compile example files with the following gcc flags: +``` +gcc -o bot bot.c `pkg-config --cflags --libs libstrophe` +```