Hello

do_all: make_dirs  updateVersion ut

ut:     
        $(MAKE) -C ut
make_dirs: 
        test -d $(ODIR) || mkdir -p $(ODIR)
        test -d $(BDIR) || mkdir -p $(BDIR)
        test -d $(LIBDIR) || mkdir -p $(LIBDIR)
        test -d $(BSCDIR) || mkdir -p $(BSCDIR)

updateVersion: $(OUTPUT_FILE)

$(OUTPUT_FILE) : $(MASTER_VERSION_FILE) $(TEMPLATE_FILE)
        $(VERSION_TOOL_SCRIPT) -output $(OUTPUT_FILE) -template
$(TEMPLATE_FILE) -version $(MASTER_VERSION_FILE)


.PHONY : ut

when I call do_all target with make 3.81, it is directly calling 'ut' target
and skipping make_dirs and UpdateVersion. but the same is working fine with
3.79. If I define make_dirs and updateVersion in PHONY , then it is working.

Could anybody please explain how can I resolve this issue ?

Thanks in advance
Chanthu

-- 
View this message in context: 
http://www.nabble.com/non-PHONY-target-are-skipping-in-3.81-tp23496316p23496316.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to