From: Ben Pfaff Date: Sat, 4 Oct 2008 03:53:51 +0000 (-0700) Subject: Append $(EXEEXT_FOR_BUILD) to output file name when building q2c. X-Git-Tag: v0.6.1~9 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65eaf640ddf133276d3ea1b9c0fc263ee6139bdc;p=pspp-builds.git 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. --- 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)