Using a makefile I want to compile all .c files in the current directory without specifying them directly and then link their associated .o files into a library.
How do I do this ?
Thanks.
Using a makefile I want to compile all .c files in the current directory without specifying them directly and then link their associated .o files into a library.
How do I do this ?
Thanks.
Sun WorkShop Compiler C 4.2
under Solaris 5.5.1
They can be compiled one after another as usual, but I do not want to specify each c file specifically in the makefile hence the use of a wildcard.
Any ideas ?