Hey, I have a simple βmasterβ Makefile that just calls other makefiles. I am trying to do the following to assemble components in the correct order:
LIB_A = folder_a LIB_B = folder_b LIB_C = folder_c MY_TARGETS = $(LIB_A) $(LIB_B) $(LIB_C) .PHONY: $(LIB_A) $(LIB_A): @$(MAKE) -C $@ ; .PHONY: $(LIB_B) $(LIB_B): @$(MAKE) -C $@ ; .PHONY: $(LIB_C) $(LIB_C): $(LIB_A) $(LIB_B) @$(MAKE) -C $@ ; .PHONY: all all: $(MY_TARGETS)
However, when I do, only LIB_A is created.
(I don't even get the last folder_b error message or anything else).
Any clues?
vdsf
source share