diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-02-23 23:45:19 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-02-23 23:45:19 +0100 |
commit | d1091da7a0d94245ffa9f6c998240c38f7395d91 (patch) | |
tree | 8595cd8e58d463d981bdf7816a190e73dd3f5920 /mpn/Makeasm.am | |
parent | f61a9dab5d7fe66b76d208b87cf9a4cc29523ca2 (diff) | |
download | gmp-d1091da7a0d94245ffa9f6c998240c38f7395d91.tar.gz |
* mpn/Makeasm.am: Add some comments about suffix ordering.
Diffstat (limited to 'mpn/Makeasm.am')
-rw-r--r-- | mpn/Makeasm.am | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mpn/Makeasm.am b/mpn/Makeasm.am index b8727c015..a31e18550 100644 --- a/mpn/Makeasm.am +++ b/mpn/Makeasm.am @@ -27,6 +27,17 @@ COMPILE_FLAGS = \ $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +# Recent versions of automake append automake generated suffixes to this +# $(SUFFIXES) list. This is essential for us, since .c must come after .s, +# .S and .asm. If .c is before .s, for instance, then in the mpn directory +# "make" will see add_n.c mentioned in an explicit rule (the ansi2knr stuff) +# and decide it must have add_n.c, even if add_n.c doesn't exist but add_n.s +# does. See GNU make documentation (make)Implicit Rule Search, part 5c. +# +# On IRIX 6 native make this doesn't work properly though. Somehow .c +# remains ahead of .s, perhaps because .c.s is a builtin rule. .asm works +# fine though, and mpn/mips3 uses this. +# SUFFIXES = .s .S .asm |