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