]> git.mxchange.org Git - flightgear.git/blob - Simulator/make.inc
Working on making the ground "hard."
[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
34 FLEX = flex -f -L
35
36 BISON = bison -v --no-lines
37
38 AR = ar
39
40
41 #---------------------------------------------------------------------------
42 # Global Compile Options
43 #
44 # You may set FG_CFLAGS to include any of the following options depending on 
45 # your environment:
46 #
47 # -g           - Compile with debugging symbols
48 #
49 # -Wall        - Enable full compiler warnings
50 #
51 # -O2          - Enable compiler optimization
52 #
53 # -DUSE_ITIMER - Use setitimer(), getitimer(), and signal() to mimic
54 #                a real time system and call the flight model routines
55 #                at a regular interval, rather than between screen updates
56 #                which can be highly variable.  This can make the flight
57 #                much smoother.
58 #---------------------------------------------------------------------------
59
60 FG_CFLAGS = -g -Wall
61
62
63 #---------------------------------------------------------------------------
64 # Uncomment one of the following sections depending on your system
65 #
66 # You may set FG_GRAPHICS to include any of the following options depending
67 # on your environment:
68 #---------------------------------------------------------------------------
69
70 #---------------------------------------------------------------------------
71 # SGI IRIX with the GLUT toolkit (surprisingly, this also works on our 
72 #                                 SunOS 4.x machine with the way we have
73 #                                 Mesa & Glut installed.)
74 #
75 # INTERFACE_FLAGS = -DGLUT
76 # INTERFACE_LIBS = -lglut
77 # INTERFACE_FILES = GLUTkey.c
78 # GRAPHICS_LIBS = -lGLU -lGL -lXmu -lX11
79 #---------------------------------------------------------------------------
80
81 #---------------------------------------------------------------------------
82 # Linux/Mesa with the GLUT toolkit
83 #
84 INTERFACE_FLAGS = -DGLUT
85 INTERFACE_LIBS = -lglut
86 INTERFACE_FILES = GLUTkey.c
87 MESA_LIBS = -L/usr/lib/mesa -lMesatk -lMesaaux -lMesaGLU -lMesaGL
88 X11_LIBS =  -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11
89 GRAPHICS_LIBS = $(MESA_LIBS) $(X11_LIBS)
90 #---------------------------------------------------------------------------
91
92 #---------------------------------------------------------------------------
93 # Windows 95/NT with the GLUT toolkit
94 #
95 # INTERFACE_FLAGS = -DGLUT
96 # INTERFACE_LIBS = -lglut
97 # INTERFACE_FILES = GLUTkey.c
98 # GRAPHICS_LIBS = -lGLU -lGL
99 #---------------------------------------------------------------------------
100
101
102 #---------------------------------------------------------------------------
103 # $Log$
104 # Revision 1.3  1997/07/09 21:31:08  curt
105 # Working on making the ground "hard."
106 #
107 # Revision 1.2  1997/07/07 20:59:48  curt
108 # Working on scenery transformations to enable us to fly fluidly over the
109 # poles with no discontinuity/distortion in scenery.
110 #
111 # Revision 1.1  1997/06/27 21:38:00  curt
112 # Working on Makefile structure.
113 #