summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-09-15 10:57:12 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-09-15 10:57:12 +0000
commite60ccc0eba90aa4731663269d3fab32f0a32d7d2 (patch)
tree39db189c35f2819195620fe35025343a9300ad41 /libffi
parent521f2016cb881842c4b30b9f460ac612e691ac23 (diff)
downloadhaskell-e60ccc0eba90aa4731663269d3fab32f0a32d7d2.tar.gz
eliminate clutter from make output
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ghc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 7a4887e67f..8001fb27a9 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -156,7 +156,7 @@ endif
touch $@
$(libffi_STATIC_LIB): $(libffi_STAMP_BUILD)
- test -f $@
+ @test -f $@ || { echo "$< exits, but $@ does not."; echo "Suggest removing $<."; exit 1; }
# Rename libffi.a to libHSffi.a
libffi/dist-install/build/libHSffi.a libffi/dist-install/build/libHSffi_p.a: $(libffi_STATIC_LIB)
@@ -180,7 +180,7 @@ $(eval $(call all-target,libffi,libffi/dist-install/build/HSffi.o))
ifeq "$(BuildSharedLibs)" "YES"
ifeq "$(Windows)" "YES"
libffi/libffi.dll.a $(libffi_HS_DYN_LIB): $(libffi_STAMP_BUILD)
- test -f $@
+ @test -f $@ || { echo "$< exits, but $@ does not."; echo "Suggest removing $<."; exit 1; }
# Windows libtool creates <soname>.dll, and as we already patched that
# there is no need to copy from libffi.dll to libHSffi...dll.
@@ -193,7 +193,7 @@ $(eval $(call all-target,libffi,$(libffi_HS_DYN_LIB).a))
else
$(libffi_DYNAMIC_LIBS): $(libffi_STAMP_BUILD)
- test -f $@
+ @test -f $@ || { echo "$< exits, but $@ does not."; echo "Suggest removing $<."; exit 1; }
# Rename libffi.so to libHSffi...so
$(libffi_HS_DYN_LIB): $(libffi_DYNAMIC_LIBS) | $$(dir $$@)/.