DESTDIR =
SUBDIRS = firmware kuttyPy/firmware microhope/firmware
all:
	for d in $(SUBDIRS); do \
	  $(MAKE) -C $$d firmware; \
	done

install:

clean:
	rm -rf *~ *.pyc build/ eyes/*~ eyes/*.pyc eyes-junior/*~ eyes-junior/*.pyc doc/fr/Docs/eyes.out
	for d in $(SUBDIRS); do \
	  [ ! -f $$d/Makefile ] || make -C $$d clean; \
	done
	# clean the bootloader hex file
	make -C microhope/firmware clean


.PHONY: all install clean
