summaryrefslogtreecommitdiff
blob: 2361aa54d56984a3a0107f9ef554d2f721f6f8e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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 \