diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-06-10 19:39:40 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2012-06-10 19:39:40 +0000 |
| commit | 7771bb30bef4d5d0ddd027e76a75efa4f077dbab (patch) | |
| tree | 5a165f8c29757a54577b0366f44b4978b17ec205 /Demos/Device/LowLevel/makefile | |
| parent | 67590f1a951992d6273cfdd6984a8a6c3634629f (diff) | |
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.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@2335 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/LowLevel/makefile')
| -rw-r--r-- | Demos/Device/LowLevel/makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Demos/Device/LowLevel/makefile b/Demos/Device/LowLevel/makefile index 99e7c24a..0e1dfae0 100644 --- a/Demos/Device/LowLevel/makefile +++ b/Demos/Device/LowLevel/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) $@;) |
