help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

non PHONY target are skipping in 3.81


From: Chanthu Nair
Subject: non PHONY target are skipping in 3.81
Date: Mon, 11 May 2009 22:17:32 -0700 (PDT)

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]