commit 07f8f71b23904686cceb856b30e9b7296ebd28fb parent 0a874caf0a61dd7b1b7b003162389e05e77e075a Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Jul 2 12:06:43 +0300 Fix *.d in subdirectories not being included in gen.mk Diffstat:
scripts/gen_makefile.lua | | | 8 | +++++++- |
diff --git a/scripts/gen_makefile.lua b/scripts/gen_makefile.lua @@ -301,7 +301,13 @@ printf( [[ @$(AR) rs $@ $^ ]], lib_suffix ) -printf( "-include %s/**.d", dir ) +-- you can't -include %s/**.d, so let's hardcode 6 levels and hope that's enough +printf( "-include %s/*.d", dir ) +printf( "-include %s/*/*.d", dir ) +printf( "-include %s/*/*/*.d", dir ) +printf( "-include %s/*/*/*/*.d", dir ) +printf( "-include %s/*/*/*/*/*.d", dir ) +printf( "-include %s/*/*/*/*/*/*.d", dir ) end