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)
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)
$(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
Yulia Rashti
Amdocs
(
-------------------------------------------------------------------------------------
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. -------------------------------------------------------------------------------------
_______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make