hi,
it seems that make doesn't resolve the wildcard character % before calling the shell function, in cases like this one:
%.exe: $(shell cat %.txt)
gcc $? -o $@
if I type this on the shell:
$ make test.exe
the shell complains that it cannot find "%.txt," but I was expecting it to find "test.txt".
is there anyway to workaround that?
thanks!