Here is my Makefile script
-----------------------------------------------------------------------------------------
subdir = $(subdir_z)
TARGET = /home/reach/proj/$(subdir)
$(TARGET):
        @echo $(TARGET) $@
define get_dir
$1 = release
endef
$(eval $(call get_dir,subdir_z))
-----------------------------------------------------------------------------------------
$make
 /home/reach/proj/release  /home/reach/proj

The variable $@ and TARGET are not expanded to the same string. How
does this happen?


Best Regards
-------------------------
PRC
Oct 16, 2008


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to