help-make
[Top][All Lists]
Advanced

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

Really Really odd error


From: prgm030
Subject: Really Really odd error
Date: Mon, 25 Oct 2010 10:16:16 -0700 (PDT)

I am sure this must be really simple, but it escapes me. Here is the code:

a:
        @echo $(patsubst 5.9.0_%,%,TEXT_5.9.0_defs)
        echo $(patsubst %.c,%.o,x.c.c bar.c)

 and the output:

TEXT_5.9.0_defs
echo x.c.o bar.o
x.c.o bar.o


As you can see, the second substitution from the GNU Make manual works, the
first fails miserably.

What gives?

-- 
View this message in context: 
http://old.nabble.com/Really-Really-odd-error-tp30049999p30049999.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]