discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] README buglet


From: Greg Troxel
Subject: Re: [Discuss-gnuradio] README buglet
Date: Mon, 14 Aug 2006 09:54:49 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (berkeley-unix)

I've filed a trac bug about BSD make failures.

http://gnuradio.utah.edu/trac/ticket/35


I think part of the problem is some of uses of "$<" in make rules.
BSD make says that refers to the "implied source" when using a pattern
rule, but the problematic usage seems to not be a pattern rule and
have multiple dependencies.

The following fixed the problem in gr-usrp/src:

fnord gdt 187 /usr/home/gdt/ADROIT-public/gnuradio/gr-usrp/src > svn diff
Index: Makefile.am
===================================================================
--- Makefile.am (revision 3278)
+++ Makefile.am (working copy)
@@ -103,7 +103,7 @@
 
 
 usrp1.cc usrp1.py: usrp1.i $(NON_LOCAL_IFILES)
-       $(SWIG) $(SWIGPYTHONARGS) -module usrp1 -o usrp1.cc $<
+       $(SWIG) $(SWIGPYTHONARGS) -module usrp1 -o usrp1.cc usrp1.i
 
 
 noinst_PYTHON =                                \

Since the make rule isn't at all generic, I don't see the point in
using $< at all.

-- 
    Greg Troxel <address@hidden>

Attachment: pgpvRsjQ7naXB.pgp
Description: PGP signature


reply via email to

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