Is it possible using any tool to get a single C file containing a
combined code of multiple C files. The single file should include the
contents of the header file.
Example if I have following files:
first.c
second.c
second.h(includ ed in first.c)
I want a tool that would combine all the contents of these files in
one file
combined.c
Now if I compile combined.c I should get same result as original
Hope I am clear.
Thanks in advance
combined code of multiple C files. The single file should include the
contents of the header file.
Example if I have following files:
first.c
second.c
second.h(includ ed in first.c)
I want a tool that would combine all the contents of these files in
one file
combined.c
Now if I compile combined.c I should get same result as original
Hope I am clear.
Thanks in advance
Comment