Skip to content

Commit

Permalink
build: add Makefile task to build all samples
Browse files Browse the repository at this point in the history
Signed-off-by: Ron Evans <[email protected]>
  • Loading branch information
deadprogram committed Mar 25, 2018
1 parent 6cf079b commit f66a4dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.ONESHELL:
.PHONY: test deps download build clean astyle
.PHONY: test deps download build clean astyle cmds


# Package list for each well-known Linux distribution
Expand Down Expand Up @@ -60,3 +60,9 @@ astyle:
astyle --project=.astylerc --recursive *.cpp,*.h

install: download build clean

CMDS=basic-drawing caffe-classifier captest capwindow counter faceblur facedetect find-circles hand-gestures mjpeg-streamer motion-detect pose saveimage savevideo showimage ssd-facedetect tf-classifier tracking version
cmds:
for cmd in $(CMDS) ; do \
go build -o build/$$cmd cmd/$$cmd/main.go ;
done ; \

0 comments on commit f66a4dd

Please sign in to comment.