X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile.am;h=d02ed4e19ad90897805063ed551b97b18b963de3;hb=10add4c7fbb4076b69e27c524e24081067c39f40;hp=0b37ce974ff650919c615d478e3a8033d71d3be5;hpb=97f42446114868d90817dfb335b008097c6c2276;p=pspp-builds.git diff --git a/Makefile.am b/Makefile.am index 0b37ce97..d02ed4e1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -16,11 +16,13 @@ AM_CFLAGS+=-Wall -W -Wwrite-strings -Wstrict-prototypes \ -Wpointer-arith -Wno-sign-compare -Wmissing-prototypes endif +CC_FOR_BUILD = @CC_FOR_BUILD@ +EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ .q.c: @$(top_srcdir)/mkinstalldirs `dirname $@` - ./src/language/lexer/q2c $< $@ + ./src/language/lexer/q2c$(EXEEXT_FOR_BUILD) $< $@ -$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT) +$(all_q_sources:.q=.c): src/language/lexer/q2c$(EXEEXT_FOR_BUILD) all_q_sources = pkgsysconfdir = $(sysconfdir)/@PACKAGE@