mirror of
https://github.com/mirror/make.git
synced 2025-03-27 12:31:23 +08:00
Formerly GNUmakefile.~108~
This commit is contained in:
parent
769061023a
commit
8788690192
@ -162,7 +162,7 @@ ifeq ($(mkdep),$(mkdep-nolib))
|
|||||||
nolib-deps = $(depfiles)
|
nolib-deps = $(depfiles)
|
||||||
else
|
else
|
||||||
%.dep: %.c
|
%.dep: %.c
|
||||||
$(mkdep-nolib) $< | sed 's,$*\.o,$(@:.dep=.o) $@,' > $@
|
$(mkdep-nolib) $< | sed -e 's,$*\.o,$(@:.dep=.o) $@,' > $@
|
||||||
nolib-deps = $(patsubst $(archpfx)%,%,$(depfiles))
|
nolib-deps = $(patsubst $(archpfx)%,%,$(depfiles))
|
||||||
endif
|
endif
|
||||||
# The distributed Makefile.in should contain deps for remote-stub only.
|
# The distributed Makefile.in should contain deps for remote-stub only.
|
||||||
@ -188,7 +188,7 @@ testdir := $(shell ls -d1 make-test-?.? | sort -n +0.10 -0.11 +0.12 | tail -1l)
|
|||||||
tests:# $(testdir)/run_make_tests.pl $(prog)
|
tests:# $(testdir)/run_make_tests.pl $(prog)
|
||||||
# cd $(<D); MAKELEVEL=0 perl $(<F)
|
# cd $(<D); MAKELEVEL=0 perl $(<F)
|
||||||
|
|
||||||
build.sh.in: build.template
|
build.sh.in: build.template compatMakefile
|
||||||
sed -e 's@%objs%@$(filter-out remote-% $(GLOB) $(ALLOCA) $(extras),\
|
sed -e 's@%objs%@$(filter-out remote-% $(GLOB) $(ALLOCA) $(extras),\
|
||||||
$(patsubst $(archpfx)%,%,$(objs)))\
|
$(patsubst $(archpfx)%,%,$(objs)))\
|
||||||
$(patsubst %.c,%.o,$(filter %.c,$(globfiles)))@' \
|
$(patsubst %.c,%.o,$(filter %.c,$(globfiles)))@' \
|
||||||
|
Loading…
Reference in New Issue
Block a user