Merge branch 'next'
[hkl3d.git] / test / Makefile.am
bloba5e9ae38f02fd96cb69e6b6192d64833bc3f9f21
1 TESTS = $(check_PROGRAMS)
3 check_PROGRAMS = test
5 AM_LDFLAGS = \
6         $(top_builddir)/hkl3d/bullet/src/libbulletdynamics.la \
7         $(top_builddir)/hkl3d/libhkl3d.la \
8         $(HKL_LIBS)
10 AM_CXXFLAGS = \
11         -I$(top_srcdir) \
12         -I$(top_srcdir)/hkl3d \
13         -I$(top_srcdir)/hkl3d/bullet/src \
14         $(G3D_CFLAGS) \
15         $(HKL_CFLAGS)
17 test_SOURCES = main.cpp
19 # Support for GNU Flymake, in Emacs.
20 check-syntax: AM_CXXFLAGS += -fsyntax-only -pipe
21 check-syntax:
22         test -z "$(CHK_SOURCES)" || $(CXXCOMPILE) $(CHK_SOURCES)
24 .PHONY: check-syntax