From 4d3c48e74d5d0252b37da03e92143d3f2d52e828 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Sat, 30 Oct 2010 12:15:19 -0600 Subject: make sure the gnuradio directory exists --- Makefile.common | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.common') 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 $< -- cgit