>>6 You want what's called -rpath Usually something like this works:
-rpath
gcc -Xlinker -rpath -Xlinker /path/to/target/dir $(LDFLAGS) $(CFLAGS) $(INCLUDES) $(LIBS) -o ../bicebot bicebot.c