Project

General

Profile

« Previous | Next » 

Revision 1628

Makefiles: Let subdir's Makefile decide whether to delete on error

View differences:

inputs/input.Makefile
161 161

  
162 162
$(root)/%: _always
163 163
	+$(subMake)
164
.PRECIOUS: $(root)/% # let ext. dir's Makefile decide whether to delete on error
164 165

  
165 166
##### Mapping
166 167

  
inputs/Makefile
40 40

  
41 41
$(subdir)%: _always
42 42
	+$$(subMake)
43
.PRECIOUS: $(subdir)% # let subdir's Makefile decide whether to delete on error
43 44
endef
44 45
$(foreach subdir,$(subdirs),$(eval $(subdirTargets)))
45 46

  
Makefile
64 64

  
65 65
$(subdir)%: _always
66 66
	+$$(subMake)
67
.PRECIOUS: $(subdir)% # let subdir's Makefile decide whether to delete on error
67 68
endef
68 69
$(foreach subdir,$(wildcard */),$(eval $(subdirTargets)))
69 70

  

Also available in: Unified diff