aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 5a8365e920af3dffe7b5cc92609406cc80be24a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
all:
	@if [ ! -f libopencm3/Makefile ]; then \
		echo "Initialising git submodules..." ;\
		git submodule init ;\
		git submodule update ;\
	fi
	$(MAKE) -C libopencm3 lib
	$(MAKE) -C src

%:
	$(MAKE) -C libopencm3 $@
	$(MAKE) -C src $@