Update Makefile to include an API make
authorkfezer <kfezer@users.noreply.github.com>
Wed, 22 Nov 2017 20:41:36 +0000 (12:41 -0800)
committerGitHub <noreply@github.com>
Wed, 22 Nov 2017 20:41:36 +0000 (12:41 -0800)
The intent of this pull is to streamline the API only make instructions to include it as an option in the download itself.

Makefile

index 96f59c5..b395f65 100644 (file)
--- 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."