noinst_LIBRARIES = libAirports.a
-noinst_PROGRAMS = gensimple genrunways
+noinst_PROGRAMS = gensimple genrunways calc_loc
libAirports_a_SOURCES = \
runways.cxx runways.hxx \
genrunways_SOURCES = genrunways.cxx
genrunways_LDADD = libAirports.a -lsgdebug -lsgmisc -lsgxml -lmk4 -lz
-INCLUDES += -I$(top_srcdir) -I$(top_srcdir)/src
+calc_loc_SOURCES = calc_loc.cxx
+calc_loc_LDADD = -lsgmath -lsgdebug -lsgmisc -lz
+
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src