2009-08-11 11:12:29 +02:00
|
|
|
#
|
|
|
|
# LUFA Library
|
2012-05-27 16:42:30 +02:00
|
|
|
# Copyright (C) Dean Camera, 2012.
|
2010-10-13 16:05:35 +02:00
|
|
|
#
|
2009-08-11 11:12:29 +02:00
|
|
|
# dean [at] fourwalledcubicle [dot] com
|
2010-10-28 08:08:58 +02:00
|
|
|
# www.lufa-lib.org
|
2009-08-11 11:12:29 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
# Makefile to build all the LUFA Host Demos. Call with "make all" to
|
|
|
|
# rebuild all Host 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 17:04:10 +02:00
|
|
|
PROJECT_DIRECTORIES = $(shell ls -d *)
|
|
|
|
|
2009-08-11 11:12:29 +02:00
|
|
|
all:
|
2012-06-03 17:04:10 +02:00
|
|
|
$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;)
|
2010-10-13 16:05:35 +02:00
|
|
|
|
2009-08-11 11:12:29 +02:00
|
|
|
%:
|
2012-06-03 17:04:10 +02:00
|
|
|
$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)
|