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