help-make
[Top][All Lists]
Advanced

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

adding dependencies


From: Noel Yap
Subject: adding dependencies
Date: Tue, 28 Oct 2003 06:55:58 -0500

I'd like to use a pattern rule to build a target, but I'd also like to add an 
order dependency.  For example:

%/.:
        mkdir -p $@

%.cc %.h: %.y
        $(BisonRule)

$(DIR)/my.cc: | $(DIR)/.
$(DIR)/my.h: | $(DIR)/.

Is this possible?  If not, would it make sense to make it possible?

Thanks,
Noel




reply via email to

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