include common.mk all: compile # To run Particle, we need to install Particle CLI # Please see: # https://docs.particle.io/guide/getting-started/connect/photon/#install-the-particle-cli monitor: sudo chmod 666 /dev/ttyACM0 particle serial monitor compile: rm -f *.bin particle compile photon flash0: particle flash IoT-0 photon*.bin flash1: particle flash IoT-1 photon*.bin flash2: particle flash IoT-2 photon*.bin PHONY += clean clean: rm -f *.bin PHONY += mrclean mrclean: clean rm -rf ../docs tabbing: uncrustify -c C.cfg --no-backup *.cpp uncrustify -c C.cfg --no-backup *.h wc: wc *.cpp *.h .PHONY: $(PHONY)