# HG changeset patch # User Oleksandr Gavenko # Date 1353966066 -7200 # Node ID e7fc0519636394153bbef75db2039d6820378210 # Parent 0305de638f1a720541547af7aba6cf5e35e9d1ec Delete target file if command fails. diff -r 0305de638f1a -r e7fc05196363 Makefile --- a/Makefile Mon Nov 19 00:24:05 2012 +0200 +++ b/Makefile Mon Nov 26 23:41:06 2012 +0200 @@ -1,3 +1,7 @@ + +################################################################ +# Standard GNU Makefile settings. + SHELL = /bin/sh export PATH := /bin:/usr/bin:${PATH} @@ -7,6 +11,8 @@ MAKEFLAGS += -R # Disable built in suffix rules. .SUFFIXES: +# Delete target file if command fails. +.DELETE_ON_ERROR: # Default target. .DEFAULT_GOAL = all