Added deps task to task all

Executing task "all" now executed the task "deps" too. A simple quality of life improvement.
This commit is contained in:
JeremyStarTM 2023-03-24 20:32:29 +01:00 committed by GitHub
parent d87c0fcf1c
commit 441e166eaf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ TESTSRC_OBJ = $(foreach dir,$(PROJECT_TESTSRC_SUBDIRS),$(subst .cpp,.o,$(wildcar
# - 'program' for building source as executable program
# - 'test_program' for building the test program
# test_program can be used with program or static_lib, but program and static_lib cannot be used together
all: program
all: deps program
clean: clean_object_files remove_binary_dir
@ -185,4 +185,4 @@ deps:
.PHONY: clean_deps
clean_deps:
@$(foreach lib,$(PROJECT_DEPEND_LOCAL_DIR), cd "$(ROOT_PROJECT_DEPENDENCY_PATH)/$(lib)" && $(MAKE) clean && cd "$(PROJECT_PATH)";)
@$(foreach lib,$(PROJECT_DEPEND_LOCAL_DIR), cd "$(ROOT_PROJECT_DEPENDENCY_PATH)/$(lib)" && $(MAKE) clean && cd "$(PROJECT_PATH)";)