feature request: $(wildcard) file type filter

2013-09-27 Thread Ed Hutchins
I've recently come up with a nifty way to detect subdirectories: ALLFILES := $(notdir $(wildcard $(d)/*)) # figure out which files are subdirs by wildcarding on /. SUBDIRS := $(notdir $(patsubst %/.,%,$(wildcard $(addprefix $(d)/,$(addsuffix /.,$(ALLFILES)) This is useful for scanning whole d

feature request: $(wildcard) file type filter

2013-09-27 Thread Ed Hutchins
I've recently come up with a nifty way to detect subdirectories: ALLFILES := $(notdir $(wildcard $(d)/*)) # figure out which files are subdirs by wildcarding on /. SUBDIRS := $(notdir $(patsubst %/.,%,$(wildcard $(addprefix $(d)/,$(addsuffix /.,$(ALLFILES)) This is useful for scanning whole d