1f1b2bab50
it's now possible to choose the LaRCsim model at runtime, as in fgfs --aircraft=c172 or fgfs --aircraft=uiuc --aircraft-dir=Aircraft-uiuc/Boeing747 I did this so that I could play with the UIUC stuff without losing Tony's C172 with its flaps, etc. I did my best to respect the design of the LaRCsim code by staying in C, making only minimal changes, and not introducing any dependencies on the rest of FlightGear. The modified files are attached.
34 lines
957 B
Makefile
34 lines
957 B
Makefile
EXTRA_DIST = \
|
|
c172_aero.c c172_aero.h \
|
|
c172_engine.c \
|
|
c172_gear.c \
|
|
c172_init.c \
|
|
navion_init.h \
|
|
uiuc_aero.c
|
|
|
|
AIRCRAFT_MODEL = c172_aero.c c172_engine.c c172_gear.c c172_init.c \
|
|
navion_init.h navion_aero.c navion_engine.c \
|
|
navion_gear.c navion_init.c uiuc_aero.c \
|
|
cherokee_aero.c cherokee_engine.c cherokee_gear.c \
|
|
cherokee_init.c
|
|
|
|
noinst_LIBRARIES = libLaRCsim.a
|
|
|
|
libLaRCsim_a_SOURCES = \
|
|
atmos_62.c atmos_62.h \
|
|
default_model_routines.c default_model_routines.h \
|
|
ls_accel.c ls_accel.h \
|
|
ls_aux.c ls_aux.h \
|
|
ls_cockpit.h ls_constants.h ls_generic.h \
|
|
ls_geodesy.c ls_geodesy.h \
|
|
ls_gravity.c ls_gravity.h \
|
|
ls_init.c ls_init.h \
|
|
ls_matrix.c ls_matrix.h \
|
|
ls_model.c ls_model.h \
|
|
ls_sim_control.h \
|
|
ls_step.c ls_step.h \
|
|
ls_sym.h ls_types.h \
|
|
$(AIRCRAFT_MODEL) \
|
|
ls_interface.c ls_interface.h
|
|
|
|
INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
|