I'm trying to make some external code available as an Arduino library, however in order to do this I have to compile and link in some additional .c files with the sketch.
Unfortunately I can't see how this is done. At the moment when I compile the sketch I get a whole bunch of undefined reference errors.
Looking around on the forum it seems that you need to #include files in a special way or something to get them compiled, but I've tried including the external code's .h files in the sketch and it doesn't make any difference.
Is there some other way you can tell the IDE to compile and link in some additional files?