|
From: | sudhanshu kumar |
Subject: | Multiple target patterns |
Date: | Thu, 13 Nov 2003 09:23:28 -0000 |
Hi,
I am getting an error "Multiple target patterns "
at a following line
${BLDDIR}/%.o: %.cc ${BLDDIR}/.tree
${CXX} -c ${CXXFLAGS} -c $< -o $@ Complete rule is like this
${BLDDIR}/%.o: %.c
${CC} ${CFLAGS} -c $< -o $@ ${BLDDIR}/%.o: %.s
${CC} ${CFLAGS} -c $< -o $@ ${BLDDIR}/%.o: %.cpp
${CXX} -c ${CXXFLAGS} -c $< -o $@ ${BLDDIR}/%.o: %.cc ${BLDDIR}/.tree
${CXX} -c ${CXXFLAGS} -c $< -o $@ Thanks in advance for any help.
Regards,
Sudhanshu ********************************DISCLAIMER********************************** This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege of Deccanet Designs Ltd. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from retaining, using, copying, altering or disclosing the contents of this message. **************************************************************************** |
[Prev in Thread] | Current Thread | [Next in Thread] |