I am having a problem with a makefile and cannot solve it on my own
after looking through the documentation for GNU make.  
What I am trying to do is compare the argument passed in to the make
util.  So I am trying to set something if the arg is vxWorks.bin.  So
here is a portion of my makefile.
 
I am calling make vxWorks.bin and the following code does not compare to
TRUE.
 
ifeq ($@,vxWorks.bin)
LDFLAGS += -T$(BSP_PATH)/ldscript.ld
endif

I cannot get this to evaluate to TRUE even though if I echo the
statement $@ and vxWorks.bin they both print
vxWorks.bin
vxWorks.bin
 
Any help would be greatly appriciated.
 
Rich Gautreaux
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to