Added .DELETE_ON_ERROR that should make GNU make react better to errors

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@27652 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2009-01-22 14:19:34 +00:00
parent 0886d85017
commit 11db3de492
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2009-01-22 Nicola Pero <nicola.pero@meta-innovation.com>
* rule.make (.DELETE_ON_ERROR): Added target. It should cause GNU
make to react more intelligently to errors.
2009-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:

View file

@ -353,6 +353,13 @@ endif
# General rules
VPATH = .
# Set .DELETE_ON_ERROR. This means that if the rule to build a target
# file fails, but the rule had modified the target file, the target
# file is automatically deleted by GNU make when exiting with an
# error. The idea is to removed corrupt/partially built files when an
# error occurs.
.DELETE_ON_ERROR:
# Disable all built-in suffixes for performance.
.SUFFIXES: