Browse Source

Initialise git submodules automatically on make if not done already.

pull/75/head
Gareth McMullin 10 years ago
parent
commit
2b774102fe
  1. 5
      Makefile

5
Makefile

@ -1,4 +1,9 @@
all:
@if [ ! -f libopencm3/Makefile ]; then \
echo "Initialising git submodules..." ;\
git submodule init ;\
git submodule update ;\
fi
$(MAKE) -C libopencm3 lib
$(MAKE) -C src

Loading…
Cancel
Save