.PHONY: check
check:
$L "Running testsuite"
- $Q ./run_tests.sh
+ $Q bertos/run_tests.sh
define build_target
# NOTE: moc totally sucks and can generate empty files for some error conditions,
# leading to puzzling linker errors. Kill 'em and abort build.
%_moc.cpp: %.h
- $(MOC) -o $@ $<
+ $(QT_MOC) -o $@ $<
if [ ! -s $< ]; then \
rm -f $@; \
exit 1; \