From 65eaf640ddf133276d3ea1b9c0fc263ee6139bdc Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 3 Oct 2008 20:53:51 -0700 Subject: [PATCH] Append $(EXEEXT_FOR_BUILD) to output file name when building q2c. Thanks to "Michel Boaventura" for reporting this problem and to John Darrington for assisting with the solution. --- src/language/lexer/automake.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language/lexer/automake.mk b/src/language/lexer/automake.mk index e0efbb66..0ce371af 100644 --- a/src/language/lexer/automake.mk +++ b/src/language/lexer/automake.mk @@ -17,7 +17,7 @@ EXTRA_DIST += src/language/lexer/q2c.c src/language/lexer/q2c$(EXEEXT_FOR_BUILD): $(top_srcdir)/src/language/lexer/q2c.c @$(MKDIR_P) `dirname $@` - $(CC_FOR_BUILD) $(top_srcdir)/src/language/lexer/q2c.c -o $(top_builddir)/src/language/lexer/q2c + $(CC_FOR_BUILD) $(top_srcdir)/src/language/lexer/q2c.c -o $(top_builddir)/src/language/lexer/q2c$(EXEEXT_FOR_BUILD) CLEANFILES += src/language/lexer/q2c$(EXEEXT_FOR_BUILD) -- 2.30.2