hi all,
i want to set a variable depending on the value of final target, as follows.
on command line,
make -f mf.mak t01
in make file,
ifeq ($(final_targetname), t01)
^^^^^^^^^^^^^^^^^^^^
VAR = T_01
else
VAR = T02
endif
i cannot use $@, because it is substituted for the target of every command executed.
thanks
hwan
==================================================================
Shin, Hyung-Hwan
Modmen Co., Ltd.
5F. Dongnam Bldg. 105-4 Imae-Dong Bundang-gu,
Seongnam-Si, Gyeonggi-Do, Korea
Tel : +82-31-701-9394
Fax : +82-31-701-9395
Email : [EMAIL PROTECTED]
==================================================================
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make