burrow-pi-img/deps/examples/cpp-multiCameraServer/Makefile

19 lines
354 B
Makefile
Raw Normal View History

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
${CXX} -pthread -o $@ $< -L/usr/local/frc/lib -lwpilibc -lwpiHal -lcameraserver -lcscore -lntcore -lwpiutil
2018-12-08 08:41:12 +00:00
.cpp.o:
${CXX} -pthread -O -c -o $@ -I/usr/local/frc/include $<