Re: make -U

From: Juli Mallett (jmallett_at_FreeBSD.org)
Date: 07/30/03

  • Next message: Ruslan Ermilov: "Re: make -U"
    Date: Wed, 30 Jul 2003 16:23:20 -0500
    To: Ruslan Ermilov <ru@FreeBSD.org>
    
    

    * Ruslan Ermilov <ru@FreeBSD.org> [ Date: 2003-07-30 ]
            [ w.r.t. make -U ]
    > Sorry, I've accidentally dropped an email about `make -U'.
    >
    > I think that it's not needed, since the functionality can
    > easily be achieved by running "make FOO=", i.e., assigning
    > an empty value. Remember that command line variables take
    > precedence over globals, so the following makefile,
    >
    > FOO+= bar
    >
    > all:
    > @echo ${FOO}
    >
    > when run as ``make FOO=foo'', will print just ``foo''.

    Does that work for the .if defined() case, too? Makefiles can grow
    to be more complex than just that sort of stuff, after all :)

    Thanx,
    juli. (who admits she missed the rest of the conversation)

    -- 
    juli mallett. email: jmallett@freebsd.org; efnet: juli; aim: bsdflata;
    i have lost my way home early - i don't care cause i won't stay there.
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Ruslan Ermilov: "Re: make -U"

    Relevant Pages

    • Re: make -U
      ... Remember that command line variables take ... > precedence over globals, so the following makefile, ...
      (freebsd-current)
    • Re: make -U
      ... Remember that command line variables take ... >> precedence over globals, so the following makefile, ... The "make -U FOO" was support to ...
      (freebsd-current)
    • Re: make -U
      ... Remember that command line variables take ... >> precedence over globals, so the following makefile, ... The "make -U FOO" was support to ...
      (freebsd-hackers)
    • Re: why these statements in a general latex makefile
      ... >>(BTW, just out of curiosity, do you even realize what the touch command ... The same way as you took it as an insult, ... > In the context of the Makefile: grep fills .btmp.new with references to ...
      (comp.text.tex)
    • Newbie needs help: Makefile Dependencies
      ... TARGET: DEPENDENCIES ... "COMMAND" for the case of the makefile for the program that I am ...
      (comp.unix.programmer)