]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blob - Makefile.ccs
Add release target to the Makefile
[pes-rpp/rpp-lib.git] / Makefile.ccs
1 # This makefile tries to build the RPP library by invoking Code
2 # Composer Studio from command line.
3 #
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
6
7 include common.mk
8
9 all: lib
10
11 lib:
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))