summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common
index e11a8ddd2..df9a6f6d5 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -125,7 +125,7 @@ if GUILE
.i.scm:
@echo "Compile .i to .scm"
@test -d "guile" || $(mkinstalldirs) "guile"
- $(SWIG) $(STD_SWIG_GUILE_ARGS) $($*_swig_args) \
+ $(SWIG) $(STD_SWIG_GUILE_ARGS) $(GNURADIO_INCLUDES) $(USRP2_INCLUDES) \
-MD -MF guile/$*.Std \
-module $* -o guile/$*.cc $<
sed -e 's:guile/gnuradio_core_runtime.cc:gnuradio_core_runtime.scm:' guile/$*.Std > guile/$*.d
@@ -136,7 +136,7 @@ endif
.i.py:
@echo "Compile .i to .py"
@test -d "python" || $(mkinstalldirs) "python"
- $(SWIG) $(STD_SWIG_PYTHON_ARGS) $($*_swig_args) \
+ $(SWIG) $(STD_SWIG_PYTHON_ARGS) $(GNURADIO_INCLUDES) $(USRP2_INCLUDES) \
-MD -MF python/$*.Std \
-module $* -o python/$*.cc -oh python/$*.h $<
sed -e 's:python/gnuradio_core_runtime.cc:gnuradio_core_runtime.py:' python/$*.Std > python/$*.d