From 091422388e943de1e67ace6faac3d71ed08c14d2 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 24 Nov 2018 10:29:23 +0000 Subject: Makefile.in: use ASMEXT in implicit rules Use $(ASMEXT) instead of `.s` directly, as well as `.SUFFIXES:` line. Also, use the same suffix at compiling from `.c`. These are different things traditionally, but we won't mix same name files with `.c` and `.s`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 4aec5e244d..1b4eb6ba4f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -407,11 +407,11 @@ $(srcdir)/enc/jis/props.h: enc/jis/props.kwd @$(ECHO) compiling $< $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c $< -.s.@OBJEXT@: +.$(ASMEXT).@OBJEXT@: @$(ECHO) assembling $< $(Q) $(CC) $(ASFLAGS) -o $@ -c $< -.c.S: +.c.$(ASMEXT): @$(ECHO) translating $< $(Q) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -S $< -- cgit v1.2.3