Compile all C files in a directory into separate programs

Posted by Martin Broadhurst on Stack Overflow See other posts from Stack Overflow or by Martin Broadhurst
Published on 2010-04-24T20:45:43Z Indexed on 2010/04/24 20:53 UTC
Read the original article Hit count: 263

Filed under:
|

Is there a way using GNU Make of compiling all of the C files in a directory into separate programs, with each program named as the source file without the .c extension?

© Stack Overflow or respective owner

Related posts about makefile

Related posts about gnumake