]> sigrok.org Git - libsigrokdecode.git/blobdiff - Makefile.am
rfm12: Avoid using the Python 'range' keyword as variable.
[libsigrokdecode.git] / Makefile.am
index 5c88cc4fd145844e228ca328db420c572825aece..e34cc3c2062368a28ba837816fb13b002558c11f 100644 (file)
@@ -60,20 +60,12 @@ tests_check_main_SOURCES = \
        tests/check_decoder.c \
        tests/check_inst.c \
        tests/check_session.c
-tests_check_main_CFLAGS = @check_CFLAGS@
+tests_check_main_CFLAGS = $(AM_CFLAGS) @check_CFLAGS@
 tests_check_main_LDADD = $(top_builddir)/libsigrokdecode.la @check_LIBS@
 tests_check_main_CPPFLAGS = $(CPPFLAGS_PYTHON) \
        -DDECODERS_DIR='"$(abs_top_builddir)/decoders"'
 endif
 
-if BUILD_RUNTC
-noinst_PROGRAMS = tests/runtc
-tests_runtc_SOURCES = tests/runtc.c
-tests_runtc_CPPFLAGS = $(CPPFLAGS_PYTHON) $(LIBSIGROK_CFLAGS) \
-       -DDECODERS_DIR='"$(abs_top_builddir)/decoders"'
-tests_runtc_LDFLAGS = -L$(top_builddir) $(LIBSIGROK_LIBS) $(LDFLAGS_PYTHON) -lsigrokdecode
-endif
-
 MAINTAINERCLEANFILES = ChangeLog
 
 .PHONY: ChangeLog