]> git.mxchange.org Git - flightgear.git/blob - LaRCsim/Makefile
Working on scenery transformations to enable us to fly fluidly over the
[flightgear.git] / LaRCsim / Makefile
1 #---------------------------------------------------------------------------
2 # Makefile
3 #
4 # Written by Curtis Olson, started May 1997.
5 #
6 # $Id$
7 # (Log is kept at end of this file)
8 #---------------------------------------------------------------------------
9
10
11 TARGET = libLaRCsim.a
12
13 LaRCsimFILES = atmos_62.c ls_accel.c ls_aux.c ls_geodesy.c ls_gravity.c \
14         ls_step.c ls_model.c default_model_routines.c ls_init.c # ls_sync.c
15
16 NavionFILES = navion_aero.c navion_engine.c navion_gear.c navion_init.c
17
18 InterfaceFILES = ls_interface.c
19
20 CFILES =  $(LaRCsimFILES) $(NavionFILES) $(InterfaceFILES)
21
22 OFILES = $(CFILES:.c=.o)
23
24
25 include ../../make.inc
26
27
28 CFLAGS = $(FG_CFLAGS)
29
30 LIBS = -lm
31
32
33 #---------------------------------------------------------------------------
34 # Primary Targets
35 #---------------------------------------------------------------------------
36
37 $(TARGET): $(OFILES)
38         $(AR) rv $(TARGET) $(OFILES)
39
40 simtest: $(TARGET) LaRCsim.o
41         $(CC) -o simtest LaRCsim.o libLaRCsim.a $(LIBS)
42
43 all: $(TARGET)
44
45 clean:
46         rm -f *.o $(TARGET) *~ core
47
48
49 #---------------------------------------------------------------------------
50 # Secondary Targets
51 #---------------------------------------------------------------------------
52
53 include depend
54
55
56 #---------------------------------------------------------------------------
57 # $Log$
58 # Revision 1.7  1997/07/07 20:59:48  curt
59 # Working on scenery transformations to enable us to fly fluidly over the
60 # poles with no discontinuity/distortion in scenery.
61 #
62 # Revision 1.6  1997/06/27 21:38:06  curt
63 # Working on Makefile structure.
64 #
65 # Revision 1.5  1997/06/27 20:03:34  curt
66 # Working on Makefile structure.
67 #
68 # Revision 1.4  1997/06/26 19:08:30  curt
69 # Restructuring make, adding automatic "make dep" support.
70 #
71 # Revision 1.3  1997/06/21 17:12:50  curt
72 # Capitalized subdirectory names.
73 #
74 # Revision 1.2  1997/06/17 16:52:02  curt
75 # Timer interval stuff now uses gettimeofday() instead of ftime()
76 #
77 # Revision 1.1  1997/05/29 00:09:52  curt
78 # Initial Flight Gear revision.
79 #
80 # Revision 1.1  1997/05/16 16:04:44  curt
81 # Initial revision.
82 #