]> git.mxchange.org Git - flightgear.git/blob - Simulator/make.inc
Hacked in some support for wind/turbulence.
[flightgear.git] / Simulator / make.inc
1 # Hey Emacs, this is a Makefile. -*- Mode: Makefile -*-
2 #
3 # Common Makefile section
4 #
5 # Written by Curtis Olson, started May 1997.
6 #
7 # Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
8 #
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or
12 # (at your option) any later version.
13 #
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
18 #
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 #
23 # $Id$
24 # (Log is kept at end of this file)
25 #---------------------------------------------------------------------------
26
27
28 #---------------------------------------------------------------------------
29 # Choose your weapons
30 #---------------------------------------------------------------------------
31
32 CC = gcc
33 FLEX = flex -f -L
34 BISON = bison -v --no-lines
35 AR = ar
36 RANLIB = ranlib
37
38
39 #---------------------------------------------------------------------------
40 # Global Compile Options
41 #
42 # You may set FG_CFLAGS to include any of the following options depending on 
43 # your environment:
44 #
45 # -g           - Compile with debugging symbols
46 #
47 # -Wall        - Enable full compiler warnings
48 #
49 # -O2          - Enable compiler optimization
50 #
51 # -DUSE_ITIMER - Use setitimer(), getitimer(), and signal() to mimic
52 #                a real time system and call the flight model routines
53 #                at a regular interval, rather than between screen updates
54 #                which can be highly variable.  This can make the flight
55 #                model calculations much smoother.
56 #
57 # -DUSE_FTIME -  Use ftime() to get an accurate current time instead of
58 #                gettimeofday()
59 #
60 # -DUSE_RAND  -  Use rand() instead of random()
61 #
62 #---------------------------------------------------------------------------
63
64 FG_CFLAGS = -g -Wall
65
66
67 #---------------------------------------------------------------------------
68 # Uncomment one of the following sections depending on your system
69 #
70 # You may set FG_GRAPHICS to include any of the following options depending
71 # on your environment:
72 #---------------------------------------------------------------------------
73
74 #---------------------------------------------------------------------------
75 # SGI IRIX with the GLUT toolkit 
76 #     (Surprisingly, this also works on our SunOS 4.x machine with the 
77 #     way we have Mesa & Glut installed.)
78 #
79 # INTERFACE_FLAGS = -DGLUT
80 # INTERFACE_LIBS = -lglut
81 # INTERFACE_FILES = GLUTkey.c
82 # GRAPHICS_LIBS = -lGLU -lGL -lXmu -lX11
83 #---------------------------------------------------------------------------
84
85 #---------------------------------------------------------------------------
86 # Linux/Mesa with the GLUT toolkit
87 #
88 INTERFACE_FLAGS = -DGLUT
89 INTERFACE_LIBS = -lglut
90 INTERFACE_FILES = GLUTkey.c
91 MESA_LIBS = -L/usr/lib/mesa -lMesatk -lMesaaux -lMesaGLU -lMesaGL
92 X11_LIBS =  -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11
93 GRAPHICS_LIBS = $(MESA_LIBS) $(X11_LIBS)
94 #---------------------------------------------------------------------------
95
96 #---------------------------------------------------------------------------
97 # Cygnus Win32 (gcc based) with the GLUT toolkit
98 #
99 # INTERFACE_FLAGS = -DGLUT 
100 # INTERFACE_LIBS = -Wl,--subsystem,windows -L. -lglut
101 # INTERFACE_FILES = GLUTkey.c
102 # GRAPHICS_LIBS = -lglu32 -lopengl32
103 #---------------------------------------------------------------------------
104
105
106 #---------------------------------------------------------------------------
107 # $Log$
108 # Revision 1.7  1997/07/18 14:28:34  curt
109 # Hacked in some support for wind/turbulence.
110 #
111 # Revision 1.6  1997/07/16 20:04:42  curt
112 # Minor tweaks to aid Win32 port.
113 #
114 # Revision 1.5  1997/07/12 02:25:53  curt
115 # Added ranlib.
116 #
117 # Revision 1.4  1997/07/12 02:13:04  curt
118 # Add ftime() support for those that don't have gettimeofday()
119 #
120 # Revision 1.3  1997/07/09 21:31:08  curt
121 # Working on making the ground "hard."
122 #
123 # Revision 1.2  1997/07/07 20:59:48  curt
124 # Working on scenery transformations to enable us to fly fluidly over the
125 # poles with no discontinuity/distortion in scenery.
126 #
127 # Revision 1.1  1997/06/27 21:38:00  curt
128 # Working on Makefile structure.
129 #