How common is :: in makefiles

Alastair Rae ar at mcdd1
Tue Feb 26 21:04:23 AEST 1991


The :: has another (undocumented) effect. Try this --

    all:	x y

    x:
	    touch x
    y::
	    touch y

First time through you get touch x and touch y, as you'd expect.
Second time through you only get touch y; the :: is a sort of
do-it-always rule.

Perhaps someone with access to makefile source could tell us what
:: is _supposed_ to mean.
-- 
Alastair Rae : uunet!ukc!mcdd1!ar : +44 442 272071 : *Usual disclaimer* 



More information about the Comp.unix.programmer mailing list