bug-make
[Top][All Lists]
Advanced

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

make falling over builtin rules ?


From: Stefan Seefeld
Subject: make falling over builtin rules ?
Date: Mon, 16 Mar 2009 09:13:44 -0400
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

I have run into a situation where GNU make complains about circular dependencies, where there are none:

---

all: src.cu.o


src.cu.o: %.cu.o: %.cu
        @echo "compiling..."

---

will result in the message:

make: Circular src.cu <- src.cu.o dependency dropped.
compiling...

When I replace '.cu' by '.cc', the warning / error message goes away.
It also goes away if I disable builtin rules (via -r).

Can you please confirm whether this is a GNU make bug, or user error ?

Thanks,
                Stefan


--
Stefan Seefeld
CodeSourcery
address@hidden
(650) 331-3385 x718




reply via email to

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