I am having some issues with a makefile I am creating for a school project. I am compiling and assembling a C file and a SPARC assembly file (respectively) and linking them. I\'
Aside from the spaces and tabs, this doesn't generate an object file, shouldn't even compile (unless it has main()):
main()
gcc -Wall proj09.support.s
You should use -c here too:
-c
gcc -Wall -c proj09.support.s
Note: if you're working on Unix/Linux lose the .exe
.exe