spek

Acoustic spectrum analyser https://github.com/alexkay/spek spek.cc
git clone http://git.hanabi.in/repos/spek.git
Log | Files | Refs | README

Makefile.am (561B)


      1 TESTS = \
      2 	test \
      3 	perf
      4 
      5 if USE_VALGRIND
      6 TESTS_ENVIRONMENT = valgrind --leak-check=full --quiet --error-exitcode=1
      7 endif
      8 
      9 check_PROGRAMS = $(TESTS)
     10 
     11 perf_SOURCES = \
     12 	perf.cc
     13 
     14 test_SOURCES = \
     15 	test-audio.cc \
     16 	test-fft.cc \
     17 	test-utils.cc \
     18 	test.cc \
     19 	test.h
     20 
     21 AM_CPPFLAGS = \
     22 	-include config.h \
     23 	-I$(top_srcdir)/src \
     24 	-DSAMPLES_DIR=\"$(srcdir)/samples\" \
     25 	-pthread
     26 
     27 AM_CXXFLAGS = \
     28 	$(AVFORMAT_CFLAGS) \
     29 	$(AVCODEC_CFLAGS) \
     30 	$(AVUTIL_CFLAGS)
     31 
     32 LDADD = \
     33 	../src/libspek.a \
     34 	$(AVFORMAT_LIBS) \
     35 	$(AVCODEC_LIBS) \
     36 	$(AVUTIL_LIBS)
     37 
     38 AM_LDFLAGS = \
     39 	-pthread