burrow-pi-img/deps/examples/cpp-multiCameraServer/Makefile
Peter Johnson 63120aee69
Build wpilibc and wpilibj and include in image (#54)
This is mainly useful for Shuffleboard and SmartDashboard classes.
2019-01-11 13:13:15 -08:00

19 lines
354 B
Makefile

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
.cpp.o:
${CXX} -pthread -O -c -o $@ -I/usr/local/frc/include $<