Automatically add the $(exeext) to program names
authorIan Lynagh <ian@well-typed.com>
Sun, 3 Mar 2013 22:49:41 +0000 (22:49 +0000)
committerIan Lynagh <ian@well-typed.com>
Sun, 3 Mar 2013 22:52:50 +0000 (22:52 +0000)
commit2b85372ca18115bb1d6363256fcea6f54e415bed
tree1ccbbac74ddbb89430cc07cbdedd9b48a5a44662
parent8640750e136f98767fc0678b35a20a6fb7970241
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).
23 files changed:
driver/ghc/ghc.mk
driver/ghci/ghc.mk
driver/haddock/ghc.mk
driver/split/ghc.mk
ghc/ghc.mk
rules/build-perl.mk
rules/build-prog.mk
rules/shell-wrapper.mk
utils/compare_sizes/ghc.mk
utils/count_lines/ghc.mk
utils/deriveConstants/ghc.mk
utils/genapply/ghc.mk
utils/genprimopcode/ghc.mk
utils/ghc-cabal/ghc.mk
utils/ghc-pkg/ghc.mk
utils/ghc-pwd/ghc.mk
utils/ghctags/ghc.mk
utils/hp2ps/ghc.mk
utils/hpc/ghc.mk
utils/mkUserGuidePart/ghc.mk
utils/runghc/ghc.mk
utils/touchy/ghc.mk
utils/unlit/ghc.mk