You probably want a Makefile with something like: all: sampleclient sampleclient: sampleclient.c cc -o $@ $< `pkg-config --cflags --libs libpjproject` ^^ don't forget thats a tab and not a space On Apr 3, 2013, at 5:06 AM, Sakharam Thorat <sakharam.thorat at outlook.com> wrote: > <sampleclient.c>