[xsd-users] Makefile rules.
Boris Kolpackov
boris at codesynthesis.com
Tue Dec 9 04:47:43 EST 2008
Hi Bill,
Bill Pringlemeir <bpringle at sympatico.ca> writes:
> Arrgh! Maybe I would like this feature.
Ok, we will try to implement this for 3.3.0.
> gmake v3.81 doesn't accept this,
>
> default: $(DEP_Service)
> @echo $^
>
> # start chain
> DEP_MessageBase = MessageBase.xsd
> DEP_Record = Record.xsd
> DEP_Service = Service.xsd $(DEP_MessageBase) $(DEP_Record)
> # end chain
I get the same (expected) result with 3.80 and 3.81. The prerequisites
list is expanded when the makefile is read, so you need to assign
values to variables (recursive or not) that are referenced in that
list before the rule.
> Also, it seems that schema notation allows for cyclic includes
> which I can never handle with recursive variables.
That's true.
Boris
More information about the xsd-users
mailing list