Project

General

Profile

« Previous | Next » 

Revision 1627

input.Makefile: Save partial outputs of aborted src make scripts

View differences:

inputs/input.Makefile
69 69
clean: _always
70 70
	$(RM) $(all)
71 71

  
72
%: %.make _always
73
	./$< >$@
72
make_script = ./$< >$@
74 73

  
75 74
%/: % _always ;
76 75

  
76
# Must come before `%: %.make` to override it
77
src/%: src/%.make _always
78
	$(make_script)
79
.PRECIOUS: src/% # save partial outputs of aborted src make scripts
80

  
81
%: %.make _always
82
	$(make_script)
83

  
77 84
##### SVN
78 85

  
79 86
add: _always

Also available in: Unified diff