Skip to content

Commit cbdc02e

Browse files
committed
Revert "Remove old Makefile"
This reverts commit c259349.
1 parent c259349 commit cbdc02e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
LIBDIR := lib
2+
include $(LIBDIR)/main.mk
3+
4+
$(LIBDIR)/main.mk:
5+
ifneq (,$(shell grep "path *= *$(LIBDIR)" .gitmodules 2>/dev/null))
6+
git submodule sync
7+
git submodule update $(CLONE_ARGS) --init
8+
else
9+
git clone -q --depth 10 $(CLONE_ARGS) \
10+
-b main https://github.com/martinthomson/i-d-template $(LIBDIR)
11+
endif

0 commit comments

Comments
 (0)