Hi,
I have a makefiles of the form:

#Makefile

.PHONY: all
all: foo

foo: foo.o
        $(CC) $< $(LIBS) -o $@

include Makefile.rules
include Makefile.gen

# end Makefile

Makefile.rules contains some pattern rules. Makefile.gen contains a rule
and that recipe is being executed before before the recipe for foo in the
outer Makefile. I'm probably not reading close enough, but the manual
doesn't seem to address execution of rules in included Makefiles. Do rules
in included Makefiles get executed in the read pass of the outer Makefile?

Thanks,
Chris


Chris Cross
DataPower Development
[email protected]_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to