-define build_ccs
-all: $(or $2,$(notdir $1))
-$(or $2,$(notdir $1)): $(WORKSPACE)
- $(ECLIPSE) -noSplash -data $(WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(if $1,$(CURDIR)/$1,$(CURDIR))
- $(ECLIPSE) -noSplash -data $(WORKSPACE) -application com.ti.ccstudio.apps.projectBuild -ccs.projects $(or $2,$(notdir $1))
-# Previous commands do not return non-zero exit code on build failure - invoke make directly to not miss a potential error
- $(MAKE) -C $(CURDIR)/$1/Debug all
-endef
+doc: # Build API documentation (Doxygen)
+ $(MAKE) -C rpp/doc/api/
+
+.PHONY: all clean lib
+
+# Multiple submakes are invoked in the same directory - e.g.
+# rpp-test-suite/Debug/GNUmakefile invokes Debug/GNUmakefile. We don't
+# want these targets to be invoked twice so we forbid parallel
+# invocation in this Makefile. Note that the submakes still run in
+# parallel.
+.NOTPARALLEL: