[Lemon-commits] [lemon_svn] alpar: r1763 - in hugo/trunk/src: demo test

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:47:24 CET 2006


Author: alpar
Date: Fri Apr  8 16:02:43 2005
New Revision: 1763

Modified:
   hugo/trunk/src/demo/Makefile.am
   hugo/trunk/src/test/Makefile.am

Log:
Only lp_xyz's are linked against -lglpk

Modified: hugo/trunk/src/demo/Makefile.am
==============================================================================
--- hugo/trunk/src/demo/Makefile.am	(original)
+++ hugo/trunk/src/demo/Makefile.am	Fri Apr  8 16:02:43 2005
@@ -1,5 +1,5 @@
 AM_CPPFLAGS = -I$(top_srcdir)/src
-LDADD = $(top_builddir)/src/lemon/libemon.la -lglpk
+LDADD = $(top_builddir)/src/lemon/libemon.la
 EXTRA_DIST = sub_graph_wrapper_demo.dim
 
 noinst_PROGRAMS = 	dim_to_dot 					\
@@ -15,6 +15,7 @@
 
 graph_to_eps_demo_SOURCES = graph_to_eps_demo.cc
 
+lp_demo_LDADD = $(top_builddir)/src/lemon/libemon.la -lglpk
 lp_demo_SOURCES = lp_demo.cc
 
 dim_to_lgf_SOURCES = dim_to_lgf.cc
\ No newline at end of file

Modified: hugo/trunk/src/test/Makefile.am
==============================================================================
--- hugo/trunk/src/test/Makefile.am	(original)
+++ hugo/trunk/src/test/Makefile.am	Fri Apr  8 16:02:43 2005
@@ -1,5 +1,5 @@
 AM_CPPFLAGS = -I$(top_srcdir)/src
-LDADD = $(top_builddir)/src/lemon/libemon.la -lglpk
+LDADD = $(top_builddir)/src/lemon/libemon.la
 
 EXTRA_DIST = preflow_graph.dim dijkstra_test.lgf
 noinst_HEADERS = \
@@ -43,7 +43,6 @@
 graph_utils_test_SOURCES = graph_utils_test.cc
 graph_wrapper_test_SOURCES = graph_wrapper_test.cc
 kruskal_test_SOURCES = kruskal_test.cc
-lp_test_SOURCES = lp_test.cc
 maps_test_SOURCES = maps_test.cc
 min_cost_flow_test_SOURCES = min_cost_flow_test.cc
 max_matching_test_SOURCES = max_matching_test.cc
@@ -57,3 +56,7 @@
 xy_test_SOURCES = xy_test.cc
 undir_graph_test_SOURCES = undir_graph_test.cc
 heap_test_SOURCES = heap_test.cc
+
+lp_test_LDADD = $(top_builddir)/src/lemon/libemon.la -lglpk
+lp_test_SOURCES = lp_test.cc
+



More information about the Lemon-commits mailing list