a way to specify that? > > Use deferred assignment > > VERSION = $(shell grep VERSION /path/to/some/file) > > and don't refer to it in any target that gets built earlier than > /path/to/some/file?
I thought of that, but I also want to have another target use the\ VERSION variable: /path/to/some/other/target-$(VERSION).img: $(dependencies); touch $<at> The problem is that VERSION isn't getting set in time. I want to create the file that VERSION depends on before this rule gets evaluated. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
