1997-05-29 00:09:51 +00:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
# Written by Curtis Olson, started May 1997.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
# (Log is kept at end of this file)
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
1997-06-17 16:51:58 +00:00
|
|
|
TARGET = libLaRCsim.a
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
LaRCsimFILES = atmos_62.c ls_accel.c ls_aux.c ls_geodesy.c ls_gravity.c \
|
1997-07-07 20:59:47 +00:00
|
|
|
ls_step.c ls_model.c default_model_routines.c ls_init.c # ls_sync.c
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
NavionFILES = navion_aero.c navion_engine.c navion_gear.c navion_init.c
|
|
|
|
|
|
|
|
InterfaceFILES = ls_interface.c
|
|
|
|
|
|
|
|
CFILES = $(LaRCsimFILES) $(NavionFILES) $(InterfaceFILES)
|
|
|
|
|
|
|
|
OFILES = $(CFILES:.c=.o)
|
|
|
|
|
|
|
|
|
1997-06-27 21:37:59 +00:00
|
|
|
include ../../make.inc
|
|
|
|
|
1997-05-29 00:09:51 +00:00
|
|
|
|
1997-06-27 21:37:59 +00:00
|
|
|
CFLAGS = $(FG_CFLAGS)
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
LIBS = -lm
|
|
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# Primary Targets
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
$(TARGET): $(OFILES)
|
|
|
|
$(AR) rv $(TARGET) $(OFILES)
|
1997-07-12 02:24:37 +00:00
|
|
|
$(RANLIB) $(TARGET)
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
simtest: $(TARGET) LaRCsim.o
|
|
|
|
$(CC) -o simtest LaRCsim.o libLaRCsim.a $(LIBS)
|
|
|
|
|
|
|
|
all: $(TARGET)
|
|
|
|
|
|
|
|
clean:
|
1997-07-18 23:41:20 +00:00
|
|
|
rm -f *.o $(TARGET) lib*.a *~ core
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# Secondary Targets
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
1997-06-26 19:08:22 +00:00
|
|
|
include depend
|
1997-05-29 00:09:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# $Log$
|
1997-07-18 23:41:20 +00:00
|
|
|
# Revision 1.9 1997/07/18 23:41:23 curt
|
|
|
|
# Tweaks for building with Cygnus Win32 compiler.
|
|
|
|
#
|
1997-07-12 02:24:37 +00:00
|
|
|
# Revision 1.8 1997/07/12 02:24:48 curt
|
|
|
|
# Added ranlib.
|
|
|
|
#
|
1997-07-07 20:59:47 +00:00
|
|
|
# Revision 1.7 1997/07/07 20:59:48 curt
|
|
|
|
# Working on scenery transformations to enable us to fly fluidly over the
|
|
|
|
# poles with no discontinuity/distortion in scenery.
|
|
|
|
#
|
1997-06-27 21:37:59 +00:00
|
|
|
# Revision 1.6 1997/06/27 21:38:06 curt
|
|
|
|
# Working on Makefile structure.
|
|
|
|
#
|
1997-06-27 20:03:31 +00:00
|
|
|
# Revision 1.5 1997/06/27 20:03:34 curt
|
|
|
|
# Working on Makefile structure.
|
|
|
|
#
|
1997-06-26 19:08:22 +00:00
|
|
|
# Revision 1.4 1997/06/26 19:08:30 curt
|
|
|
|
# Restructuring make, adding automatic "make dep" support.
|
|
|
|
#
|
1997-06-21 17:12:38 +00:00
|
|
|
# Revision 1.3 1997/06/21 17:12:50 curt
|
|
|
|
# Capitalized subdirectory names.
|
|
|
|
#
|
1997-06-17 16:51:58 +00:00
|
|
|
# Revision 1.2 1997/06/17 16:52:02 curt
|
|
|
|
# Timer interval stuff now uses gettimeofday() instead of ftime()
|
|
|
|
#
|
1997-05-29 00:09:51 +00:00
|
|
|
# Revision 1.1 1997/05/29 00:09:52 curt
|
|
|
|
# Initial Flight Gear revision.
|
|
|
|
#
|
|
|
|
# Revision 1.1 1997/05/16 16:04:44 curt
|
|
|
|
# Initial revision.
|
|
|
|
#
|