bug-make
[Top][All Lists]
Advanced

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

the problem with make file


From: Yulia Rashti
Subject: the problem with make file
Date: Thu, 19 Feb 2004 15:35:06 +0200

Hello,
 
I have a list of *WLE.cnt files and I have a rule for all WLE.cnt files.
I would like to write the another rule that will be different for 2 *WLE.cnt files and for all the other it will be the same
 
I write the following in the make file, but it doesn't perform that.
 
 
WLE_FILES = helloWLE  shalomWLE
 
.PHONY: all
all: $(WLE_FILES)
 
 
define WLE_template
  $(wle_file)_srv.o :$(CCWPA)/cnt/$(wle_file).h
        @echo "----------------------------------"
        @echo "tpgen32 $(CCWPA)/cnt/$(wle_file).h  $(DATECONT)"; $(DATE)
        @echo "----------------------------------"
        $(DONE)
endef

PHONY_TARGET_PRO += phony_tag
phony_tag :
      $(foreach wle_file,$(WLE_FILES),$(eval $(call WLE_template,$(wle_file))))
 
 
 
Please tell me what is wrong and what can be done. The make version is $Revision: 82.20.1.15

 

Thanks,

Yulia Rashti

Amdocs (Israel)

,    mailto:address@hidden

 
-------------------------------------------------------------------------------------

The information contained in this message is proprietary of Amdocs,

protected from disclosure, and may be privileged.

The information is intended to be conveyed only to the designated recipient(s)

of the message. If the reader of this message is not the intended recipient,

you are hereby notified that any dissemination, use, distribution or copying of 

this communication is strictly prohibited and may be unlawful. 

If you have received this communication in error, please notify us immediately

by replying to the message and deleting it from your computer.

Thank you.


-------------------------------------------------------------------------------------

reply via email to

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