forked from movidius/ncappzoo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
25 lines (19 loc) · 793 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
ifneq ($(findstring movidius, $(PYTHONPATH)), movidius)
export PYTHONPATH:=/opt/movidius/caffe/python:/opt/movidius/mvnc/python:$(PYTHONPATH)
endif
TOPTARGETS := all clean check profile compile run
SUBDIRS := $(wildcard */.)
$(TOPTARGETS): $(SUBDIRS)
$(SUBDIRS):
$(MAKE) -C $@ $(MAKECMDGOALS)
.PHONY: $(TOPTARGETS) $(SUBDIRS)
.PHONY: help
help:
@echo "Possible Make targets"
@echo " make help - shows this message"
@echo " make all - Makes all targets"
@echo " make clean - Removes all temp files from all directories"
@echo " make check - Runs check on all caffe/tensorflow models"
@echo " make profile - Runs profile on all caffe/tensorflow models"
@echo " make compile - Runs compile on all caffe/tensorflow models"
@echo " make run - Runs all caffe/tensorflow/apps"