]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - Makefile
Makefile: Fix subdir targets containing slashes
[pes-rpp/rpp-lib.git] / Makefile
index cfa16d924880b730f16405e17696642459353781..026dabfff935f4c94085e8788c58f40f39c792dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,8 +13,8 @@ lib: # Build only the library
 
 .PHONY: all clean lib
 
-subdir-%:
-       $(MAKE) -C $* $(MAKECMDGOALS)
+subdir-% subdir-apps/%:
+       $(MAKE) -C $(@:subdir-%=%) $(MAKECMDGOALS)
 
 # TODO
 # test-suite-posix: