From 441e166eafa947c11b32afdc678ae8f6031e615e Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Fri, 24 Mar 2023 20:32:29 +0100 Subject: [PATCH] Added deps task to task all Executing task "all" now executed the task "deps" too. A simple quality of life improvement. --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 67e1384..1450703 100644 --- a/makefile +++ b/makefile @@ -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)";) \ No newline at end of file + @$(foreach lib,$(PROJECT_DEPEND_LOCAL_DIR), cd "$(ROOT_PROJECT_DEPENDENCY_PATH)/$(lib)" && $(MAKE) clean && cd "$(PROJECT_PATH)";)