* add the possibility to use the MultiThreaded version of bullet. (experimental)
[hkl3d.git] / test / Makefile.am
blob0207d11f7471171a8e859ce91573ada1607617e5
1 SUBDIRS = gui
3 TESTS = $(check_PROGRAMS)
5 check_PROGRAMS = test
7 AM_LDFLAGS = \
8         $(top_builddir)/hkl3d/bullet/src/libbulletmath.la \
9         $(top_builddir)/hkl3d/bullet/src/libbulletcollision.la \
10         $(top_builddir)/hkl3d/bullet/src/libbulletdynamics.la \
11         $(top_builddir)/hkl3d/libhkl3d.la \
12         $(HKL_LIBS)
14 if CONDITIONAL_BUILD_MULTITHREADED
15 AM_LDFLAGS += $(top_builddir)/hkl3d/bullet/src/libbulletmultithreaded.la
16 endif
18 AM_CXXFLAGS = \
19         -I$(top_srcdir) \
20         -I$(top_srcdir)/hkl3d \
21         -I$(top_srcdir)/hkl3d/bullet/src \
22         $(G3D_CFLAGS) \
23         $(HKL_CFLAGS)
25 test_SOURCES = main.cpp
27 # Support for GNU Flymake, in Emacs.
28 check-syntax: AM_CXXFLAGS += -fsyntax-only -pipe
29 check-syntax:
30         test -z "$(CHK_SOURCES)" || $(CXXCOMPILE) $(CHK_SOURCES)
32 .PHONY: check-syntax