aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-24 10:29:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-24 10:29:23 +0000
commit091422388e943de1e67ace6faac3d71ed08c14d2 (patch)
tree52e501e8cbca5e81e7f944cbb20b9b6416799a19 /Makefile.in
parent94ec8e0d93466a90437bb7dc30e6d7b16dbd9915 (diff)
downloadruby-091422388e943de1e67ace6faac3d71ed08c14d2.tar.gz
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
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
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 $<