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


_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to