[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Please help with syntax for target specific variable
From: |
Jai Maraj |
Subject: |
Please help with syntax for target specific variable |
Date: |
Tue, 27 Aug 2002 19:31:20 +0200 |
Hi Support,
Please help me out here.
I'm having trouble using a 'target specific variable' .
I haven't used this feature before and am sure what I'm doing wrong.
Makefile content is
jaitest: MYVAR=friend
@echo Hello $(MYVAR)
Command make -f jaimake.mk jaitest fails with the following error:
make: *** No rule to make target `MYVAR=friend', needed by `jaitest'.
Stop.
Make version & machine info
Version: GNU Make version 3.76.1
Machine: Sun Solaris 2.6
Your assistance is greatly appreciated,
Thanks,
Jai
- Please help with syntax for target specific variable,
Jai Maraj <=