I am working on a small C project and wat to have a makefile that compiles all c files in a direcotry into an so file.
So foreach file in direcotry lib compile if source changed.
How can i do this?
Printable View
I am working on a small C project and wat to have a makefile that compiles all c files in a direcotry into an so file.
So foreach file in direcotry lib compile if source changed.
How can i do this?
Check this out http://lmgtfy.com/?q=makefile+compil...s+in+directory