Mon Jun 17 19:09:49 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
authorroland <roland>
Wed, 19 Jun 1996 14:48:36 +0000 (14:48 +0000)
committerroland <roland>
Wed, 19 Jun 1996 14:48:36 +0000 (14:48 +0000)
* Make-dist (+sysdeps): Move wildcard inside loop to avoid consing
up a huge list just to discard most of it.

Make-dist

index 457c9ac..c511122 100644 (file)
--- a/Make-dist
+++ b/Make-dist
@@ -93,8 +93,8 @@ vpath % $(subdir-dirs)
 endif
 
 # Now find all the sysdep versions of those files.
-+sysdeps := $(wildcard $(foreach dir,$(sysdep_dirs) $(source_dirs),\
-                                $(addprefix $(dir)/, \
++sysdeps := $(foreach dir,$(sysdep_dirs) $(source_dirs),\
+                     $(wildcard $(addprefix $(dir)/, \
                                             $(+sysdep-names) \
                                             $(+sysdep-names:.c=.s) \
                                             $(+sysdep-names:.c=.S) \