summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 3796dd2..e041b12 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -182,9 +182,8 @@ tests:# $(testdir)/run_make_tests.pl $(prog)
build.sh.in: build.template
sed -e 's@%objs%@$(filter-out $(GLOB) $(ALLOCA) $(extras),\
- $(patsubst $(archpfx)%,%,$(objs)))@' \
- -e 's@%globobjs%@$(patsubst %.c,%.o,\
- $(filter %.c,$(notdir $(globfiles))))@' \
+ $(patsubst $(archpfx)%,%,$(objs)))\
+ $(patsubst %.c,%.o,$(filter %.c,$(globfiles)))@' \
$< > $@.new
mv -f $@.new $@