mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
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.
This commit is contained in:
@@ -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) $@;)
|
||||
|
||||
Reference in New Issue
Block a user