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
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
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
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"
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