2009-02-23 08:08:24 +01: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-02-23 08:08:24 +01:00
|
|
|
# dean [at] fourwalledcubicle [dot] com
|
2010-10-28 08:08:58 +02:00
|
|
|
# www.lufa-lib.org
|
2009-02-23 08:08:24 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
2012-06-03 17:04:10 +02:00
|
|
|
PROJECT_DIRECTORIES = $(shell ls -d *)
|
|
|
|
|
2009-02-23 08:08:24 +01:00
|
|
|
all:
|
2012-06-03 17:04:10 +02:00
|
|
|
$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;)
|
2009-10-18 07:35:48 +02:00
|
|
|
|
2009-02-23 08:08:24 +01:00
|
|
|
%:
|
2012-06-03 17:04:10 +02:00
|
|
|
$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;)
|