summaryrefslogtreecommitdiff
path: root/utils/compare_sizes
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-03-03 22:49:41 +0000
committerIan Lynagh <ian@well-typed.com>2013-03-03 22:52:50 +0000
commit2b85372ca18115bb1d6363256fcea6f54e415bed (patch)
tree1ccbbac74ddbb89430cc07cbdedd9b48a5a44662 /utils/compare_sizes
parent8640750e136f98767fc0678b35a20a6fb7970241 (diff)
downloadhaskell-2b85372ca18115bb1d6363256fcea6f54e415bed.tar.gz
Automatically add the $(exeext) to program names
We now define _PROGNAME, and _PROG is automatically defined with $(exeext). This will shortly automatically use the right exeext depending on what stage it is being compiled with (exeext may be different for different stages when cross-compiling).
Diffstat (limited to 'utils/compare_sizes')
-rw-r--r--utils/compare_sizes/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/compare_sizes/ghc.mk b/utils/compare_sizes/ghc.mk
index 7a7142c19b..d659a5e6d8 100644
--- a/utils/compare_sizes/ghc.mk
+++ b/utils/compare_sizes/ghc.mk
@@ -2,7 +2,7 @@
utils/compare_sizes_USES_CABAL = YES
utils/compare_sizes_PACKAGE = compareSizes
utils/compare_sizes_MODULES = Main
-utils/compare_sizes_dist-install_PROG = compareSizes$(exeext)
+utils/compare_sizes_dist-install_PROGNAME = compareSizes
utils/compare_sizes_dist-install_INSTALL_INPLACE = NO
$(eval $(call build-prog,utils/compare_sizes,dist-install,1))