From ae1977a099aa995232d75bc0d19d827388a7fd0e Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 21 Nov 2007 19:08:25 +0000 Subject: [PATCH] Added the EXEEXT suffix in the Makefile.am rules for GHC, since I don't think it will do so automatically --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5f745f8..edbc734 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,12 +8,12 @@ GHC_OPTS = \ tock$(EXEEXT): $(BUILT_SOURCES) $(tock_SOURCES) @MKDIR_P@ obj - ghc $(GHC_OPTS) -o tock --make Main -odir obj -hidir obj + ghc $(GHC_OPTS) -o tock$(EXEEXT) --make Main -odir obj -hidir obj #The order of the -main-is and --make flags is important here: tocktest$(EXEEXT): $(BUILT_SOURCES) $(tocktest_SOURCES) @MKDIR_P@ obj - ghc $(GHC_OPTS) -o tocktest -main-is TestMain --make TestMain -odir obj -hidir obj + ghc $(GHC_OPTS) -o tocktest$(EXEEXT) -main-is TestMain --make TestMain -odir obj -hidir obj TOCK_CFLAGS = @gnu89_inline@ -O2 -g -Wall `kroc --cflags` `kroc --ccincpath`