I want to compile multiple C files to a single assembly file (they are interconnected and when you compile it you will have a binary file). Is it possible in GCC?
For example take a look at this repo. The make file will generate a single file (a binary one).
However I want to compile them to assembly, instrument the code and then compile them to binary. Obviously it will be easier for me if I have all the assembly files in a single *.s file.
Any idea?
#includeall those files into a single.cfile and compile it