[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
forcing a rule
From: |
Noel Yap |
Subject: |
forcing a rule |
Date: |
Thu, 01 Apr 2004 17:53:31 -0500 |
User-agent: |
Mozilla Thunderbird 0.5 (Windows/20040212) |
I have the following makefile:
.PHONY: install
install: install/common/make/file
install/common/%: | install/common/.
install/common/.:
@echo create install/common
%/.:
@echo mkdir -p $(@)
install/common/make/%: src/make/% | install/common/make/.
@echo install -m 444 $(<) $(@)
src/make/file:
which produces the following:
$ gmake
mkdir -p install/common/make/.
install -m 444 src/make/file install/common/make/file
I'd like to produce:
$ gmake
create install/common
mkdir -p install/common/make/.
install -m 444 src/make/file install/common/make/file
without having to have:
install/common/make/.: | install/common/.
Is this possible?
Thanks,
Noel
- forcing a rule,
Noel Yap <=
- Re: forcing a rule, Boris Kolpackov, 2004/04/02
- Re: forcing a rule, Noel Yap, 2004/04/02
- Re: forcing a rule, Boris Kolpackov, 2004/04/02
- Re: forcing a rule, Noel Yap, 2004/04/02
- Re: forcing a rule, Boris Kolpackov, 2004/04/02
- Re: forcing a rule, Noel Yap, 2004/04/02
- Re: forcing a rule, Boris Kolpackov, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Boris Kolpackov, 2004/04/02
- Re: MAKEFLAGS (Was: forcing a rule), Noel Yap, 2004/04/02