https://svn.lrde.epita.fr/svn/oln/trunk/external/trimesh
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
Fix the compilation of tools in Trimesh.
* utilsrc/Makefile.am (AM_LDFLAGS): New.
(LDADD): Add $(GLLIBS).
(mesh_view_LDFLAGS, mesh_view_LDADD): Remove.
Makefile.am | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Index: utilsrc/Makefile.am
--- utilsrc/Makefile.am (revision 2265)
+++ utilsrc/Makefile.am (working copy)
@@ -6,7 +6,8 @@
AM_CPPFLAGS = -I$(top_srcdir)/include
-LDADD = -L$(top_builddir)/libsrc -ltrimesh -lm
+AM_LDFLAGS = $(GLFLAGS)
+LDADD = -L$(top_builddir)/libsrc -ltrimesh -lm $(GLLIBS)
bin_PROGRAMS = \
@@ -24,7 +25,4 @@
mesh_filter_SOURCES = mesh_filter.cc
mesh_make_SOURCES = mesh_make.cc
mesh_shade_SOURCES = mesh_shade.cc
-
mesh_view_SOURCES = mesh_view.cc
-mesh_view_LDFLAGS = $(AM_LDFLAGS) $(GLFLAGS)
-mesh_view_LDADD = $(LDADD) $(GLLIBS)