NUMJOBS := 24
MAKEFLAGS := -j3 -l36

SUBDIRS := a  \
                  b  \
                  c

.PHONY $(SUBDIRS)
$(SUBDIRS) : $(SOME_INITIAL_WORK)
c : a b
$(SUBDIRS):
             @echo "=> Working on '$@' for '$(ARCH)'..."
             $(NOERR)+cd $(DIR) &&  time ./<script>

On executing parallel make , only targets "a" and "b" are built and target
"c" totally skipped..not even goes to echo statement of $(SUBDIRS) rule.
In make -d -p command output get the following:
c: a b 
#  Phony target (prerequisite of .PHONY).
#  Implicit rule search has not been done.
#  File does not exist.
#  File has not been updated.
#  Dependencies commands running (THIS IS A BUG). 

On adding some 10-15 targets in between "b" and "c" target, the above BUG
doesn't comes and everything builds fine.
SUBDIRS := a  \
                  b  \
                  d e f ........l..m   \
                  c
Tried adding pipe , removing PHONY  and many other ways but of no
respite.Please help what can be the reason and some proper way to solve
this.



--
View this message in context: 
http://gnu-make.2324884.n4.nabble.com/Dependencies-commands-running-THIS-IS-A-BUG-make-3-81-tp17594.html
Sent from the Gnu - Make - Bugs mailing list archive at Nabble.com.

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to