summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2017-09-07 06:09:01 +0200
committerskullY <skullydazed@gmail.com>2017-09-07 06:09:08 +0200
commit927ef813638953a0d69692f4d21500f1da25b1f4 (patch)
treeecfc55a2cc66cc90ec076fc9ab5bc844172a845c /Makefile
parent6fc43ddaf6048edc67c00ea258ffbbcbded631b0 (diff)
downloadqmk_firmware-927ef813638953a0d69692f4d21500f1da25b1f4.tar.gz
qmk_firmware-927ef813638953a0d69692f4d21500f1da25b1f4.tar.xz
Revert "Remove the "lib/%" rule."
This reverts commit 6fc43ddaf6048edc67c00ea258ffbbcbded631b0. I didn't think this through before pushing it.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b97d33c5f..f79244951 100644
--- a/Makefile
+++ b/Makefile
@@ -554,6 +554,10 @@ test: test-all
.PHONY: test-clean
test-clean: test-all-clean
+lib/%:
+ git submodule sync $?
+ git submodule update --init $?
+
git-submodule:
git submodule sync --recursive
git submodule update --init --recursive