diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-10 19:39:40 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-10 19:39:40 +0000 |
commit | 9ab445518a01e9b10b5d3e1c99f45d81d874278b (patch) | |
tree | 5a165f8c29757a54577b0366f44b4978b17ec205 /Bootloaders | |
parent | fe3a5c24623030306bca129a4653323f0bfb80bc (diff) | |
download | lufa-9ab445518a01e9b10b5d3e1c99f45d81d874278b.tar.gz lufa-9ab445518a01e9b10b5d3e1c99f45d81d874278b.tar.bz2 lufa-9ab445518a01e9b10b5d3e1c99f45d81d874278b.zip |
Add OBJDIR optional build variable to the BULD build system module, to allow the user project to relocate the output object and dependency files to a different directory.
Diffstat (limited to 'Bootloaders')
-rw-r--r-- | Bootloaders/makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Bootloaders/makefile b/Bootloaders/makefile index 0c183e73e..bffee425d 100644 --- a/Bootloaders/makefile +++ b/Bootloaders/makefile @@ -23,7 +23,9 @@ ifeq ($(MAKELEVEL), 10) endif all: +ifeq ($(OBJDIR),) @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) clean all;) +endif %: @$(foreach PROJECT, $(PROJECT_DIRECTORIES), $(MAKE) -s -C $(PROJECT) $@;) |