Hi,
I would appreciate any suggestions for a solution to the following problem:
I have set of driver sources that drives a variety of different hardware
pieces on a variety of different platforms. But for each different
hardware target and platform combination, I have a unique .h file that gets
included. So, I have a driver that is basically the same, but with a
extremely minor difference. But because of this difference, I end up
compiling 36 different drivers. Now I don’t mind compiling 36 times. What
I mind is having 36 different sub-directories. In each directory I have
around 10 source files that look something like this:
// routines.c
//
#include “…\shared_source\routines.c”
In order to use BUILD, you have to have the files listed in SOURCES file in
the same directory. I want to know if there is a way to keep all of these
source files in one directory. Even further, I want to combine all of the
unique .h files into one. I’d like to build these 36 combinations from one
directory.
Any suggestions?
Thanks,
John