source: trunk/test/Makefile.am @ 642

Last change on this file since 642 was 642, checked in by sam, 10 years ago

Add an optional cppunit dependency for unit tests.

File size: 431 bytes
Line 
1
2AM_CPPFLAGS = -I$(top_srcdir)/src
3
4if USE_CPPUNIT
5cppunit_tests = lol-test
6endif
7
8noinst_PROGRAMS = $(cppunit_tests)
9
10TESTS = $(cppunit_tests)
11
12lol_test_SOURCES = lol-test.cpp matrix.cpp
13lol_test_CXXFLAGS = $(CPPUNIT_CFLAGS)
14lol_test_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
15lol_test_LDADD = $(CPPUNIT_LIBS)
16lol_test_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
17lol_test_DEPENDENCIES = $(top_builddir)/src/liblol.a
18
Note: See TracBrowser for help on using the repository browser.