summaryrefslogtreecommitdiff
path: root/gr-howto-write-a-block/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'gr-howto-write-a-block/Makefile.common')
-rw-r--r--gr-howto-write-a-block/Makefile.common5
1 files changed, 5 insertions, 0 deletions
diff --git a/gr-howto-write-a-block/Makefile.common b/gr-howto-write-a-block/Makefile.common
index 31a31232a7..0160c354a2 100644
--- a/gr-howto-write-a-block/Makefile.common
+++ b/gr-howto-write-a-block/Makefile.common
@@ -36,3 +36,8 @@ grpyexecdir = $(pyexecdir)/gnuradio
# swig flags
SWIGPYTHONFLAGS = -fvirtual -python -modern
SWIGGRFLAGS = -I$(GNURADIO_CORE_INCLUDEDIR)/swig -I$(GNURADIO_CORE_INCLUDEDIR)
+
+# Don't assume that make predefines $(RM), because BSD make does
+# not. We define it now in configure.ac using AM_PATH_PROG, but now
+# here have to add a -f to be like GNU make.
+RM=$(RM_PROG) -f