help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

%/ in pattern rule doesn't match './'


From: gk
Subject: %/ in pattern rule doesn't match './'
Date: Wed, 06 Nov 2002 10:16:17 -0800

I am using 'find -type d' to get a list of directories, which the 'find' command precedes with './' I know I could work around my problem by replacing '.' with $(CURDIR) but I do not understand why the following pattern rule is not invoked

--- Makefile 1 - BROKEN

-include ./SOURCES.mk

%/SOURCES.mk :
        @echo making $@

--- Makefile 2 - WORKS

-include ./SOURCES.mk

./SOURCES.mk :
        @echo making $@

- Greg Keraunen





reply via email to

[Prev in Thread] Current Thread [Next in Thread]