diff options
author | Rob Savoye | 2010-10-30 12:15:19 -0600 |
---|---|---|
committer | Eric Blossom | 2010-11-10 12:15:42 -0800 |
commit | 4d3c48e74d5d0252b37da03e92143d3f2d52e828 (patch) | |
tree | f32460416f3e4606891c808f53c7703ef9ee80b1 | |
parent | d94769a975612072dc03fa378bc79856c07cd66b (diff) | |
download | gnuradio-4d3c48e74d5d0252b37da03e92143d3f2d52e828.tar.gz gnuradio-4d3c48e74d5d0252b37da03e92143d3f2d52e828.tar.bz2 gnuradio-4d3c48e74d5d0252b37da03e92143d3f2d52e828.zip |
make sure the gnuradio directory exists
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index 3856b0dcc..865a2d655 100644 --- a/Makefile.common +++ b/Makefile.common @@ -122,9 +122,13 @@ MOSTLYCLEANFILES = $(BUILT_SOURCES) $(STAMPS) *.pyc *.pyo *~ *.tmp *.loT SUFFIXES = .i .scm .py if GUILE +# Compile a .i to what guile needs. We use -o to set the output file name, +# or even with -outdir guile in SWIG_GUILE_ARGS, swig keeps putting a +# gnuradio_core_*_wrap.cxx in the source directory. .i.scm: @echo "Compile .i to .scm" @test -d "guile" || $(mkinstalldirs) "guile" + @test -d "gnuradio" || $(mkinstalldirs) "gnuradio" $(SWIG) $(STD_SWIG_GUILE_ARGS) $(GNURADIO_INCLUDES) $(USRP2_INCLUDES) \ -MD -MF guile/$*.Std \ -module $* -o guile/$*.cc $< |