Makefile: Difference between revisions
→Recursion
[unchecked revision] | [unchecked revision] |
m (→Basics: sp (build -> built)) |
|||
Line 70:
While it should be obvious to see what these two lines do, it took some experimentation to get it right given the typical GNU-style documentation of ''make'' (which is correct, but not very helpful). I now have a list of all source and header files in my project directories.
''The -mindepth option keeps any top-level files out of the result set, like tmp.c or test.c or whatever you might have created for testing something on the fly. The -maxdepth option stops the 'find'
=== Automated Testing, pt. 1 ===
|