2018-12-08 08:41:12 +00:00
|
|
|
EXE=multiCameraServerExample
|
|
|
|
DESTDIR?=/home/pi/
|
|
|
|
|
|
|
|
.PHONY: clean build install
|
|
|
|
|
|
|
|
build: ${EXE}
|
|
|
|
|
|
|
|
install: build
|
|
|
|
cp ${EXE} runCamera ${DESTDIR}
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm ${EXE} *.o
|
|
|
|
|
|
|
|
${EXE}: main.o
|
2019-01-11 21:16:27 +00:00
|
|
|
${CXX} -pthread -o $@ $< \
|
|
|
|
-L/usr/local/frc/lib \
|
|
|
|
-lwpilibc \
|
|
|
|
-lwpiHal \
|
|
|
|
-lcameraserver \
|
|
|
|
-lcscore \
|
|
|
|
-lntcore \
|
|
|
|
-lwpiutil \
|
|
|
|
-lopencv_ml \
|
|
|
|
-lopencv_objdetect \
|
|
|
|
-lopencv_shape \
|
|
|
|
-lopencv_stitching \
|
|
|
|
-lopencv_superres \
|
|
|
|
-lopencv_videostab \
|
|
|
|
-lopencv_calib3d \
|
|
|
|
-lopencv_features2d \
|
|
|
|
-lopencv_highgui \
|
|
|
|
-lopencv_videoio \
|
|
|
|
-lopencv_imgcodecs \
|
|
|
|
-lopencv_video \
|
|
|
|
-lopencv_photo \
|
|
|
|
-lopencv_imgproc \
|
|
|
|
-lopencv_flann \
|
|
|
|
-lopencv_core
|
2018-12-08 08:41:12 +00:00
|
|
|
|
|
|
|
.cpp.o:
|
2019-01-10 08:10:42 +00:00
|
|
|
${CXX} -pthread -O -c -o $@ -I/usr/local/frc/include $<
|