#
#             LUFA Library
#     Copyright (C) Dean Camera, 2009.
#              
#  dean [at] fourwalledcubicle [dot] com
#      www.fourwalledcubicle.com
#

# Makefile to build all the LUFA Projects. Call with "make all" to
# rebuild all projects.

# Projects are pre-cleaned before each one is built, to ensure any
# custom LUFA library build options are reflected in the compiled
# code.

all:
	make -C Magstripe clean
	make -C Magstripe all
	
	make -C AVRISP_Programmer clean
	make -C AVRISP_Programmer all

	make -C MotmotCamTrig clean
	make -C MotmotCamTrig all

%:
	make -C Magstripe $@
	make -C AVRISP_Programmer $@
	make -C MotmotCamTrig $@
