> I came along the need to query a single folder without changing the > working directory so that only file names (without folder names) will be > in the result.
The easiest way to accomplish such a thing is probably to use the notdir function: MY_FILES=$(notdir $(wildcard somedir/*.ext)) See also the documentation of notdir at https://www.gnu.org/software/make/manual/html_node/File-Name-Functions.html regards Henrik _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make