summaryrefslogtreecommitdiff
path: root/source4/build/make
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-04-18 22:20:49 +0200
committerStefan Metzmacher <metze@samba.org>2008-04-19 01:10:39 +0200
commit08f83c59df7a0e490da55a536b6e04a32508d2b0 (patch)
tree696ac3b07561bde40d0b161a8ac6b9f719f486b1 /source4/build/make
parentb3f974076424415014ea9bd52edcd32618e4bfb2 (diff)
downloadsamba-08f83c59df7a0e490da55a536b6e04a32508d2b0.tar.gz
samba-08f83c59df7a0e490da55a536b6e04a32508d2b0.tar.bz2
samba-08f83c59df7a0e490da55a536b6e04a32508d2b0.zip
build: fix the build rule for .o files
metze (This used to be commit c7f34f41c3f9f0c3f75a618dfaf566706014a6b4)
Diffstat (limited to 'source4/build/make')
-rw-r--r--source4/build/make/rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/build/make/rules.mk b/source4/build/make/rules.mk
index faefb4e323..541fa018db 100644
--- a/source4/build/make/rules.mk
+++ b/source4/build/make/rules.mk
@@ -211,7 +211,9 @@ include/includes.d: include/includes.h
@echo "Compiling $<"
@-mkdir -p `dirname $@`
@$(COMPILE) && exit 0 ; \
- $(COMPILE)
+ echo "The following command failed:" 1>&2;\
+ echo "$(COMPILE)" 1>&2;\
+ $(COMPILE) >/dev/null 2>&1