Hi Johan,

> ... and using 'recursive make', I use the same FORCE target to enforce 
> recursion like in:
>
> .PHONY: FORCE $(subdirs) clean
>
> clean: FORCE
> <tab>{Commands to clean this level...}

Just declaring clean to be PHONY should be sufficient. phony targets
are always rebuilt. There isn't anything wrong with the way you did
it.

> FORCE : $(subdirs)

Is this a typo? I could understand

$(subdirs) : FORCE

but not the other way around.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/


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

Reply via email to