docs:
$Q $(DOXYGEN)
+# Generate ctags
+tags:
+ ctags -R --exclude=doc
+
+# Run testsuite
+check:
+ ./run_tests.sh
+
define build_target
ifneq ($$(strip $$($(1)_MCU)),)
# leading to puzzling linker errors. Kill 'em and abort build.
%_moc.cpp: %.h
$(MOC) -o $@ $<
- if [ -s $< ]; then \
- rm $@; \
+ if [ ! -s $< ]; then \
+ rm -f $@; \
exit 1; \
fi