]> git.mxchange.org Git - flightgear.git/blob - LaRCsim/Makefile
Added ranlib.
[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         $(RANLIB) $(TARGET)
40
41 simtest: $(TARGET) LaRCsim.o
42         $(CC) -o simtest LaRCsim.o libLaRCsim.a $(LIBS)
43
44 all: $(TARGET)
45
46 clean:
47         rm -f *.o $(TARGET) *~ core
48
49
50 #---------------------------------------------------------------------------
51 # Secondary Targets
52 #---------------------------------------------------------------------------
53
54 include depend
55
56
57 #---------------------------------------------------------------------------
58 # $Log$
59 # Revision 1.8  1997/07/12 02:24:48  curt
60 # Added ranlib.
61 #
62 # Revision 1.7  1997/07/07 20:59:48  curt
63 # Working on scenery transformations to enable us to fly fluidly over the
64 # poles with no discontinuity/distortion in scenery.
65 #
66 # Revision 1.6  1997/06/27 21:38:06  curt
67 # Working on Makefile structure.
68 #
69 # Revision 1.5  1997/06/27 20:03:34  curt
70 # Working on Makefile structure.
71 #
72 # Revision 1.4  1997/06/26 19:08:30  curt
73 # Restructuring make, adding automatic "make dep" support.
74 #
75 # Revision 1.3  1997/06/21 17:12:50  curt
76 # Capitalized subdirectory names.
77 #
78 # Revision 1.2  1997/06/17 16:52:02  curt
79 # Timer interval stuff now uses gettimeofday() instead of ftime()
80 #
81 # Revision 1.1  1997/05/29 00:09:52  curt
82 # Initial Flight Gear revision.
83 #
84 # Revision 1.1  1997/05/16 16:04:44  curt
85 # Initial revision.
86 #