From 8f21c91edff19117d099b1578c54966bcac1f046 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 24 Apr 2000 23:51:26 +0000 Subject: [PATCH] Moved main.o to beginning of link line. Initialize navaid databases. --- src/Main/Makefile.am | 4 +++- src/Main/fg_init.cxx | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/Main/Makefile.am b/src/Main/Makefile.am index 43a0e60a8..762f53236 100644 --- a/src/Main/Makefile.am +++ b/src/Main/Makefile.am @@ -32,11 +32,11 @@ bin_PROGRAMS = fgfs bin_SCRIPTS = runfgfs runfgfs.bat fgfs_SOURCES = \ + main.cxx \ bfi.cxx bfi.hxx \ fg_init.cxx fg_init.hxx \ fg_io.cxx fg_io.hxx \ keyboard.cxx keyboard.hxx \ - main.cxx \ options.cxx options.hxx \ save.cxx save.hxx \ splash.cxx splash.hxx \ @@ -53,9 +53,11 @@ fgfs_LDADD = \ $(top_builddir)/src/FDM/libFlight.a \ $(top_builddir)/src/FDM/Balloon/libBalloon.a \ $(top_builddir)/src/FDM/JSBsim/libJSBsim.a \ + $(top_builddir)/src/FDM/JSBsim/filtersjb/libfiltersjb.a \ $(top_builddir)/src/FDM/LaRCsim/libLaRCsim.a \ $(top_builddir)/src/FDM/UIUCModel/libUIUCModel.a \ $(top_builddir)/src/GUI/libGUI.a \ + $(top_builddir)/src/Navaids/libNavaids.a \ $(top_builddir)/src/Scenery/libScenery.a \ $(top_builddir)/src/Airports/libAirports.a \ $(NETWORK_LIBS) \ diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index 66920fc4b..3bf3ff11f 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -66,6 +66,9 @@ #include #include #include +#include +#include +#include #include #include #include