From 691eb0c0df42e5f1b10abda8b9a61c17e8833633 Mon Sep 17 00:00:00 2001 From: kfezer Date: Wed, 22 Nov 2017 12:41:36 -0800 Subject: [PATCH] Update Makefile to include an API make The intent of this pull is to streamline the API only make instructions to include it as an option in the download itself. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 96f59c5..b395f65 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,7 @@ help: @echo " make help - shows this message" @echo " make install - Installs the ncsdk." @echo " make examples - makes the ncsdk examples." + @echo " make api - installs only the api. Ideal for RPi setup." @echo " make uninstall - uninstalls the ncsdk." @echo " make clean - removes targets and intermediate files." @@ -55,7 +56,11 @@ examples: prereqs opencv runexamples: prereqs opencv @echo "\nmake examples starting." (cd examples; make run) - + +.PHONY: api +api: @echo "\nmake api starting." + (cd api/src; make; make install) + .PHONY: clean clean: @echo "\nmake clean starting." -- 2.7.4