[前][次][番号順一覧][スレッド一覧]

ruby-changes:53735

From: nobu <ko1@a...>
Date: Sat, 24 Nov 2018 19:29:27 +0900 (JST)
Subject: [ruby-changes:53735] nobu:r65951 (trunk): Makefile.in: use ASMEXT in implicit rules

nobu	2018-11-24 19:29:23 +0900 (Sat, 24 Nov 2018)

  New Revision: 65951

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65951

  Log:
    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`.

  Modified files:
    trunk/Makefile.in
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 65950)
+++ Makefile.in	(revision 65951)
@@ -407,11 +407,11 @@ $(srcdir)/enc/jis/props.h: enc/jis/props https://github.com/ruby/ruby/blob/trunk/Makefile.in#L407
 	@$(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 $<
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]