Hi,

I'm trying to handle filenames with ':' in it. But neither of the
following two ways work. Could anybody let me know if there is a way
to hand filenames with ':' using make?

.PHONY: all

colon:=:
foo:=abc_xyz.txt
bar:=$(subst _,$(colon),$(foo))

all: $(bar)

$(bar):
        touch $@

#Neither the above nor the below works.
#all: abc$(colon)xyz.txt
#
#abc$(colon)xyz.txt:
#       touch $@


-- 
Regards,
Peng

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

Reply via email to