🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Mike McNally Mon, 26 Jun 1989 16:28
GNU make: substitution references
#89
Author: Mike McNally
Date: Mon, 26 Jun 1989 16:28
21 lines
1109 bytes
It seems that GNU make (3.48) doesn't expand the value of a variable in 
a simple substitution reference:

BLAH=balloons
BLEE=$(BLAH)

 . . .

	echo $(BLEE:oo=OO)	# should be ballOOns, instead is $(BLAH)

I'm not sure what the "right" thing to do is; I have lots and lots of
Makefiles that use the feature as provided by our own brain-dead mutant
of "make", and it does do the expansion.  I added a call to
expand_argument() at the appropriate place in variable.c, but I'm
willing to hear arguments to the contrary.

-- 
Mike McNally                                    Lynx Real-Time Systems
uucp: {voder,athsys}!lynx!m5                    phone: 408 370 2233

            Where equal mind and contest equal, go.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads