diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2004-12-18 17:30:53 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2004-12-18 17:30:53 +0000 |
| commit | 2cf24569afc386fcdeed044dffa07e6fe70e9af0 (patch) | |
| tree | def152c15a2393c547ad544b57985d04cdd570be | |
| parent | d579f3e4fea8708e2a94ddecf85eb6f83629c8fb (diff) | |
Notes
| -rw-r--r-- | rescue/rescue/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rescue/rescue/Makefile b/rescue/rescue/Makefile index a75edc2e5d3c..5a6629526290 100644 --- a/rescue/rescue/Makefile +++ b/rescue/rescue/Makefile @@ -220,6 +220,11 @@ CLEANFILES+= $(CONF) *.o *.lo *.c *.mk *.cache *.a *.h # except for those that get suppressed. .for D in $(CRUNCH_SRCDIRS) .for P in $(CRUNCH_PROGS_$(D)) +.ifdef CRUNCH_SRCDIR_${P} +$(OUTPUTS): $(CRUNCH_SRCDIR_${P})/Makefile +.else +$(OUTPUTS): $(.CURDIR)/../../$(D)/$(P)/Makefile +.endif .ifndef CRUNCH_SUPPRESS_LINK_${P} LINKS+= $(BINDIR)/$(PROG) $(BINDIR)/$(P) .endif @@ -262,7 +267,7 @@ $(CONF): Makefile .ORDER: $(OUTPUTS) objs $(OUTPUTS): $(CONF) - MAKEFLAGS= MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -q -m $(OUTMK) \ + MAKEFLAGS= MAKEOBJDIRPREFIX=${CRUNCHOBJS} crunchgen -fq -m $(OUTMK) \ -c $(OUTC) $(CONF) $(PROG): $(OUTPUTS) objs |
