On Wed, Feb 14, 2001 at 10:32:23AM -0800, John H. Robinson, IV wrote:
> 
> i think that we are going to have to make specific make/* entries for
> the case of the null %.

just thought of something...

resc1440%.bin:     $(root_for_rescue) linux% rescue.sh $(arch_rescue_deps)
        $(ROOTCMD) ./rescue.sh $(archive) "$*" $(kver) $< \
        1440 $(debianversion) "" $(LINGUA) $(SFONT)

what if - we made rescue.sh (and friends) smart enough to know about its
size and other optings (ie: -s) so we could do this:

resc%.bin:      $(root_for_rescue) linux% rescue.sh $(arch_rescue_deps)
        $(ROOTCMD) ./rescue.sh $(archive) "$*" $(kver) $< \
        $(debianversion) "" $(LINGUA) $(SFONT)

or something similar?

i know i know - Object Oriented wants the data smart and the procedures
stupid, and this would be the other way around. however, i have never
seen Makefiles as being very Object Oriented.

that would also solve all the null % problems

working on that idea now...

-john


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to