I want to write my own C-program for OpenWRT 8.09. In this program I want to use functions found in libconfig.
How should the structure of the files look in the package directory?
../test-program/Makefile ?
../test-program/test-program.c
../test-program/test-program.h
Anything more or in another way?
How should the makefile look when I want to use functions from libconfig in test-program.c?
Is it right that the only thing I need to do in my c-code is to include libconfig.h (or must I point to any path etc)?
Plz give me some advices and some examples. I'm eager to start coding but I cant make the code compile.