Currently I use multiple expansion, e.g. for generating variable and
target names from the name of makefile includes. Example: I have a file
names my-package.mk and am generating targets like my-package-dirclean,
my-package-source etc. Furthermore, I am generating variables like
MY_PACKAGE_DIR, MY_PACKAGE_TARGET_BINARY and so forth. The thing is that
for generating upper-case names from a lower-case value I must use
something like $(shell tr ...) or $(shell awk ...), i.e. I keep spawning
shell processes for the sole purpose of doing a string case conversion.
It would be nice to have built-ins for doing this, because I think what
I am doing is pretty generic. Many makefiles user lower-case targets and
corresponding upper-case variables.
-- 
Alexander Kriegisch


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

Reply via email to