summaryrefslogtreecommitdiff
path: root/utils/touchy
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/touchy
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/touchy')
-rw-r--r--utils/touchy/ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/touchy/ghc.mk b/utils/touchy/ghc.mk
index 8c316ba993..b2911aaaa6 100644
--- a/utils/touchy/ghc.mk
+++ b/utils/touchy/ghc.mk
@@ -11,7 +11,7 @@
# -----------------------------------------------------------------------------
utils/touchy_dist_C_SRCS = touchy.c
-utils/touchy_dist_PROG = touchy$(exeext)
+utils/touchy_dist_PROGNAME = touchy
utils/touchy_dist_TOPDIR = YES
utils/touchy_dist_INSTALL = YES
utils/touchy_dist_INSTALL_INPLACE = YES