]> git.mxchange.org Git - flightgear.git/blob - LaRCsim/Makefile
Working on Makefile structure.
[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.6  1997/06/27 21:38:06  curt
59 # Working on Makefile structure.
60 #
61 # Revision 1.5  1997/06/27 20:03:34  curt
62 # Working on Makefile structure.
63 #
64 # Revision 1.4  1997/06/26 19:08:30  curt
65 # Restructuring make, adding automatic "make dep" support.
66 #
67 # Revision 1.3  1997/06/21 17:12:50  curt
68 # Capitalized subdirectory names.
69 #
70 # Revision 1.2  1997/06/17 16:52:02  curt
71 # Timer interval stuff now uses gettimeofday() instead of ftime()
72 #
73 # Revision 1.1  1997/05/29 00:09:52  curt
74 # Initial Flight Gear revision.
75 #
76 # Revision 1.1  1997/05/16 16:04:44  curt
77 # Initial revision.
78 #