GNU Make – How to compile all c files in present directory

The “shell” built-in function supported by GNU Make can be used to get the list of C source files in a directory. Then a list of corresponding object files can be created by replacing the file extension in the file list. Read Full Article.

Leave a Comment