--- tools/ltrextract/Makefile.am.old 2009-02-12 09:48:37.000000000 +0100 +++ tools/ltrextract/Makefile.am 2009-02-12 09:50:36.000000000 +0100 @@ -3,9 +3,8 @@ bin_PROGRAMS = ltrextract -LIBS = $(top_builddir)/util/libutil.a $(INTLLIBS) AM_CFLAGS = -DLTREXTRACT @dis_flag@ -I$(LGENERAL_PATH) -I$(top_srcdir) -I$(top_srcdir)/util $(INTLINCLUDES) -ltrextract_LDFLAGS = -lm +ltrextract_LDADD = $(top_builddir)/util/libutil.a $(INTLLIBS) ltrextract_SOURCES = ltrextract.c util.c util.h \ terrain.c terrain.h map.c map.h nation.c nation.h \ unit_lib.c unit_lib.h scenario.c scenario.h campaign.c campaign.h \