We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 393fe8e commit 3a275fbCopy full SHA for 3a275fb
Makefile
@@ -53,7 +53,7 @@ images: build
53
build: lib examples
54
55
lib:
56
- $(Q)if [ ! "`ls -A libopencm3`" ] ; then \
+ $(Q)if [ ! "`ls -A $(OPENCM3_DIR)`" ] ; then \
57
printf "######## ERROR ########\n"; \
58
printf "\tlibopencm3 is not initialized.\n"; \
59
printf "\tPlease run:\n"; \
@@ -63,7 +63,7 @@ lib:
63
64
exit 1; \
65
fi
66
- $(Q)$(MAKE) -C libopencm3
+ $(Q)$(MAKE) -C $(OPENCM3_DIR)
67
68
EXAMPLE_DIRS:=$(sort $(dir $(wildcard $(addsuffix /*/*/Makefile,$(addprefix examples/,$(TARGETS))))))
69
$(EXAMPLE_DIRS): lib
0 commit comments