NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/60850: Make could do with a syntax for immediate var expansion



The following reply was made to PR bin/60850; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/60850: Make could do with a syntax for immediate var
 expansion
Date: Mon, 5 Oct 2026 21:38:34 +0300

 >  ```
 >  CPPFLAGS = -I/usr/include -I/usr/X11R7/include
 >  CPPFLAGS := ${CPPFLAGS} -I${.PARSEDIR}
 >  # CPPFLAGS += -I${.PARSEDIR}
 >  CPPFLAGS += -I/usr/local/include
 
 Consider the case where the first assignment to CPPFLAGS contains a
 variable reference that you do _not_ want to expand immediately when
 that := runs
 
 -uwe
 



Home | Main Index | Thread Index | Old Index