# This makefile tries to build the RPP library by invoking Code # Composer Studio from command line. # # See http://processors.wiki.ti.com/index.php/Projects_-_Command_Line_Build/Create # and https://bugs.eclipse.org/bugs/show_bug.cgi?id=186847 include common.mk all: lib lib: $(call rmdir,$(TMP_WORKSPACE)) $(call mkdir,$(TMP_WORKSPACE)) $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectImport -ccs.location $(CURDIR) $(ECLIPSE) -noSplash -data $(TMP_WORKSPACE) -application com.ti.ccstudio.apps.projectBuild -ccs.projects rpp-lib # Previous commands do not always return non-zero exit code on build failure - invoke make directly to not miss a potential error $(MAKE) -f Makefile lib $(call rmdir,$(TMP_WORKSPACE))