Now I have two makefiles, A.mk and B.mk.
A.mk will include B.mk But B.mk is dynamically generated by some command which is executed in A.mk
Here is the pseudo code of A.mk
command to generate B.mk
include B.mk
compile and link
The question is the include command is something like #include macro in C file. the A.mk try to load the B.mk before the command is executed.
Does anyone can give me some advise?
Many Thanks Jerry