2009-03-20 06:34:41 +00:00
|
|
|
#
|
|
|
|
|
# LUFA Library
|
2012-05-27 14:42:30 +00:00
|
|
|
# Copyright (C) Dean Camera, 2012.
|
2010-10-13 14:05:35 +00:00
|
|
|
#
|
2009-03-20 06:34:41 +00:00
|
|
|
# dean [at] fourwalledcubicle [dot] com
|
2010-10-28 06:08:58 +00:00
|
|
|
# www.lufa-lib.org
|
2009-03-20 06:34:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# Makefile to build all the LUFA Device Demos. Call with "make all" to
|
|
|
|
|
# rebuild all Device demos.
|
|
|
|
|
|
|
|
|
|
# Projects are pre-cleaned before each one is built, to ensure any
|
|
|
|
|
# custom LUFA library build options are reflected in the compiled
|
|
|
|
|
# code.
|
|
|
|
|
|
2012-06-03 15:04:10 +00:00
|
|
|
PROJECT_DIRECTORIES = $(shell ls -d *)
|
|
|
|
|
|
2009-03-20 06:34:41 +00:00
|
|
|
all:
|
2012-06-03 15:04:10 +00:00
|
|
|
$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;)
|
2011-03-16 05:58:58 +00:00
|
|
|
|
2009-03-20 06:34:41 +00:00
|
|
|
%:
|
2012-06-03 15:04:10 +00:00
|
|
|
$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)
|