aboutsummaryrefslogtreecommitdiffstats
path: root/makefile
blob: fd7e5c0e8723cdbcf3f133c00574e937899e4413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
#             LUFA Library
#     Copyright (C) Dean Camera, 2011.
#
#  dean [at] fourwalledcubicle [dot] com
#           www.lufa-lib.org
#

# Makefile to build the LUFA library, projects and demos.

# Call with "make all" to rebuild everything, "make clean" to clean everything,
# "make clean_list" to remove all intermediatary files but preserve any binaries,
# "make doxygen" to document everything with Doxygen (if installed) and
# "make clean_doxygen" to remove generated Doxygen documentation from everything.

all:
%:
	@echo Executing \"make $@\" on all LUFA library elements.
	@echo
	$(MAKE) -C LUFA $@ -s
	$(MAKE) -C Demos $@ -s
	$(MAKE) -C Projects $@ -s
	$(MAKE) -C Bootloaders $@ -s
	@echo
	@echo LUFA \"make $@\" operation complete.