.NOTPARALLEL as a dependency

2013-10-21 Thread Ed Hutchins
I'm using a complex non-recursive make system to run test suites, some subset of which are performance tests which should not run in parallel. Is there any way to get gmake to run a job serially? Ideally something like: mytarget: .NOTPARALLEL Currently I'm forced to either break up the test suit

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

Re: Condtional target-specific variable assignment does not work as expected

2013-08-09 Thread Ed Hutchins
rs to manage (imagine a big team where different people are responsible for different phases of some complex process). On Fri, Aug 9, 2013 at 1:53 PM, Philip Guenther wrote: > On Fri, Aug 9, 2013 at 12:59 PM, Ed Hutchins wrote: > ... > > In my case I'd like to have "init"

Condtional target-specific variable assignment does not work as expected

2013-08-09 Thread Ed Hutchins
The following Makefile: condset: COND ?= one condset: condset2 @echo $@ COND [$(COND)] condset2: COND ?= two condset2: condset3 @echo $@ COND [$(COND)] condset3: COND ?= three condset3: @echo $@ COND [$(COND)] outputs: condset3 COND [three] condset2 COND [two] condset COND [one] I would have