fixed: on compile failure we must still error code so make aborts
authorelupus <elupus@xbmc.org>
Sun, 24 Jul 2011 18:34:48 +0000 (20:34 +0200)
committerelupus <elupus@xbmc.org>
Sun, 24 Jul 2011 18:35:13 +0000 (20:35 +0200)
Makefile.include.in

index 04fcbf8..c351bdc 100644 (file)
@@ -79,7 +79,7 @@ GEN_DEPS=\
   && sed -e 's/\#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
          -e '/^$$/ d' -e 's/$$/ :/' < $*.d >> $*.P \
   && rm -f $*.d \
-  || rm -f $*.P $@
+  || ( rm -f $*.P $@ && exit 1 )
 
 %.o: %.cpp
        @rm -f $@