From 798e9e4b5817c3a5e8301c798b1b894a9662b129 Mon Sep 17 00:00:00 2001
From: "benjamin.franksen" <benjamin.franksen@helmholtz-berlin.de>
Date: Tue, 24 May 2011 11:18:01 +0000
Subject: [PATCH] appended HOSTEXE to snc in Makefiles

---
 examples/demo/Makefile     | 3 +--
 examples/johng/Makefile    | 2 +-
 examples/keck/Makefile     | 2 +-
 examples/parallel/Makefile | 2 +-
 examples/simple/Makefile   | 2 +-
 test/compiler/Makefile     | 2 +-
 test/validate/Makefile     | 2 +-
 7 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/examples/demo/Makefile b/examples/demo/Makefile
index 82ba3110..944ead87 100644
--- a/examples/demo/Makefile
+++ b/examples/demo/Makefile
@@ -4,8 +4,7 @@ include $(TOP)/configure/CONFIG
 #----------------------------------------
 #  ADD MACRO DEFINITIONS AFTER THIS LINE
 
-SNC = $(INSTALL_HOST_BIN)/snc
-
+SNC = $(INSTALL_HOST_BIN)/snc$(HOSTEXE)
 
 DBD += demo.dbd
 
diff --git a/examples/johng/Makefile b/examples/johng/Makefile
index b26c4469..952a4bcc 100644
--- a/examples/johng/Makefile
+++ b/examples/johng/Makefile
@@ -4,7 +4,7 @@ include $(TOP)/configure/CONFIG
 #----------------------------------------
 #  ADD MACRO DEFINITIONS AFTER THIS LINE
 
-SNC = $(INSTALL_HOST_BIN)/snc
+SNC = $(INSTALL_HOST_BIN)/snc$(HOSTEXE)
 
 # purify support (uncomment to enable)
 #CXX := purify $(CXX)
diff --git a/examples/keck/Makefile b/examples/keck/Makefile
index 23d22c83..2b59c231 100644
--- a/examples/keck/Makefile
+++ b/examples/keck/Makefile
@@ -14,7 +14,7 @@ USR_CPPFLAGS += -DCA
 USR_CPPFLAGS += -I$(KROOT)/rel/dcs/default/include
 
 #  Location of SNL compiler
-SNC = $(INSTALL_HOST_BIN)/snc
+SNC = $(INSTALL_HOST_BIN)/snc$(HOSTEXE)
 
 #  Generate snc main programs
 SNCFLAGS = +m
diff --git a/examples/parallel/Makefile b/examples/parallel/Makefile
index f178ae49..777f8972 100644
--- a/examples/parallel/Makefile
+++ b/examples/parallel/Makefile
@@ -5,7 +5,7 @@ include $(TOP)/configure/CONFIG
 #  ADD MACRO DEFINITIONS AFTER THIS LINE
 
 #  Location of SNL compiler
-SNC = $(INSTALL_HOST_BIN)/snc
+SNC = $(INSTALL_HOST_BIN)/snc$(HOSTEXE)
 
 #  Generate snc main program
 SNCFLAGS = +m
diff --git a/examples/simple/Makefile b/examples/simple/Makefile
index 07adc9e4..e75ee573 100644
--- a/examples/simple/Makefile
+++ b/examples/simple/Makefile
@@ -4,7 +4,7 @@ include $(TOP)/configure/CONFIG
 #----------------------------------------
 #  ADD MACRO DEFINITIONS AFTER THIS LINE
 
-SNC = $(INSTALL_HOST_BIN)/snc
+SNC = $(INSTALL_HOST_BIN)/snc$(HOSTEXE)
 
 #  Generate snc main programs
 SNCFLAGS_DEFAULT += +m
diff --git a/test/compiler/Makefile b/test/compiler/Makefile
index d5c4f84d..622965ef 100644
--- a/test/compiler/Makefile
+++ b/test/compiler/Makefile
@@ -8,7 +8,7 @@ include $(TOP)/configure/CONFIG
 SNCFLAGS_DEFAULT += +m -i
 SNCFLAGS_vxWorks += -nil-
 
-SNC = $(INSTALL_HOST_BIN)/snc
+SNC = $(INSTALL_HOST_BIN)/snc$(HOSTEXE)
 
 TESTSCRIPTS_HOST += test.t
 
diff --git a/test/validate/Makefile b/test/validate/Makefile
index 567a7335..5955326c 100644
--- a/test/validate/Makefile
+++ b/test/validate/Makefile
@@ -4,7 +4,7 @@ include $(TOP)/configure/CONFIG
 #----------------------------------------
 #  ADD MACRO DEFINITIONS AFTER THIS LINE
 
-SNC = $(INSTALL_HOST_BIN)/snc
+SNC = $(INSTALL_HOST_BIN)/snc$(HOSTEXE)
 
 #  Generate snc main programs (not needed under VxWorks)
 SNCFLAGS_DEFAULT += +m -i
-- 
GitLab