# Run testsuite
.PHONY: check
-check: $(OUTDIR)/libunittest.a
+check:
$L "Running testsuite"
$Q test/run_tests.sh
endef
-# Generate build rules for all targets and libunittest
-$(foreach t,$(TRG) libunittest,$(eval $(call build_target,$(t))))
+# Generate build rules for all targets
+$(foreach t,$(TRG),$(eval $(call build_target,$(t))))
# Generate Qt's moc files from headers
# NOTE: moc totally sucks and can generate empty files for some error conditions,