How can I order make
command in the Makefile to execute recursively in all subdirectories make
commands (defined in the Makefile in the subdirectories)?
相关问题
- PHP Recursively File Folder Scan Sorted by Modific
- How to access the camera from my Windows Phone 8 a
- CMakeList file to generate LLVM bitcode file from
- recursion, Python, countup, countdown
- JavaScript fibonacci using recursion
相关文章
- Recursively replace keys in an array
- Python: Maximum recursion depth exceeded when prin
- Is recursion good in SQL Server?
- How does this list comprehension over the inits of
- Find all subfolders of the Inbox folder using EWS
- How to arrange a Makefile to compile a kernel modu
- Directory.CreateDirectory Latency Issue?
- What is the definition of “natural recursion”?
P.S. A code snippet from my answer to a different yet related question could be used as a rough approximation.
I will submit here my particular solution. Suppose we have a directory with many sub-directories, all of them with its own makefile:
then, just copy in the root-dir this Makefile:
@eldar-abusalimov, the first link you posted assumes the makefile knows what are the subfolders. This is not always true, and I guess thats what @tyranitar would like to know. In that case, such a solution can do the job: (took me some time, but I needed it too)