mirror of
https://github.com/jakcron/nstool.git
synced 2025-08-04 08:01:24 +00:00
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:
parent
d87c0fcf1c
commit
441e166eaf
4
makefile
4
makefile
|
@ -116,7 +116,7 @@ TESTSRC_OBJ = $(foreach dir,$(PROJECT_TESTSRC_SUBDIRS),$(subst .cpp,.o,$(wildcar
|
||||||
# - 'program' for building source as executable program
|
# - 'program' for building source as executable program
|
||||||
# - 'test_program' for building the test 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
|
# 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
|
clean: clean_object_files remove_binary_dir
|
||||||
|
|
||||||
|
@ -185,4 +185,4 @@ deps:
|
||||||
|
|
||||||
.PHONY: clean_deps
|
.PHONY: clean_deps
|
||||||
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)";)
|
||||||
|
|
Loading…
Reference in a new issue