Skip to content
Snippets Groups Projects
Commit 9058fcc1 authored by dgelessus's avatar dgelessus
Browse files

Ensure that helper files are built as part of make all

parent 60084191
Branches
No related tags found
Loading
...@@ -35,13 +35,21 @@ clean_methods := $(methods:%=clean-%) ...@@ -35,13 +35,21 @@ clean_methods := $(methods:%=clean-%)
.PHONY: all .PHONY: all
all: $(methods) all: $(methods)
.PHONY: helper
helper:
$(MAKE) -C src/helper_files
.PHONY: methods .PHONY: methods
$(methods): $(methods): helper
$(MAKE) -C src/methods/$@ $(MAKE) -C src/methods/$@
.PHONY: clean_helper
clean_helper:
$(MAKE) -C src/helper_files
.PHONY: $(clean_methods) .PHONY: $(clean_methods)
$(clean_methods): $(clean_methods):
$(MAKE) -C src/methods/$(@:clean-%=%) clean $(MAKE) -C src/methods/$(@:clean-%=%) clean
.PHONY: clean .PHONY: clean
clean: $(clean_methods) clean: clean_helper $(clean_methods)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment