Actually, the method you describe here has been used in GNU's automake
tool for quite a while. I wrote up a description of it and it's at my
web site, referenced below.
This method also uses an already-existing feature of GNU make, which
serves the same purpose as the patch you provided (allowin
Attached is an enhancement I made to make-3.97.1 which adds a new
feature: when a preqrequisite's file name begins with a hyphen, it is
marked dontcare (and the hyphen stripped). Then during rebuilding, if
that file doesn't exist and can't be remade, 'make' silently proceeds.
This is useful for
$B$*K;$7$$$H$3$m<:NiCW$7$^$9!#(B
Web$B>e$G8x3+$5$l$F$$$k%"%I%l%9$K!"$*Lr$KN)$D>pJs$H;W$$$40FFb%a!<%k(B
$B$rAw$i$;$FD:$-$^$7$?!#(B
$B$40FFb$,ITMW$NJ}$K!"Aw?.$5$l$F$*$j$^$7$?$i?<$/$*OM$S?=$7>e$2$^$9!#(B
$B%a!<%kITMW$JJ}$O!"$*http://db.bbmail.ne.jp/scripts/member3/mail_deny.asp?mid=1202675-1
Hello!
I've found a strange behaviour of make v3.79.1. A sample of the Makefile is
joined with this mail. The interesting part is the $(BASE) rule:
$(BASE): $(BASE).h $(OBJ2) $(OBJ1).o
@echo "it's okay..."
This rule indicate to generate $(BASE).h if it doesn't exists, a special