1997-05-16 15:58:23 +00:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# Makefile
|
|
|
|
#
|
|
|
|
# Written by Curtis Olson, started May 1997.
|
|
|
|
#
|
1997-05-23 15:40:24 +00:00
|
|
|
# Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
|
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
#
|
1997-05-16 15:58:23 +00:00
|
|
|
# $Id$
|
|
|
|
# (Log is kept at end of this file)
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
1998-01-19 19:26:51 +00:00
|
|
|
TARGET = fg-$(FG_VERSION)
|
1997-05-16 15:58:23 +00:00
|
|
|
|
1997-08-27 21:31:27 +00:00
|
|
|
CFILES = fg_init.c views.c $(INTERFACE_FILES)
|
1997-05-16 15:58:23 +00:00
|
|
|
|
1998-01-19 19:26:51 +00:00
|
|
|
FGLIBS = -lAircraft -lAstro -lCockpit -lControls -lFlight \
|
|
|
|
-lJoystick -lLaRCsim -lSlew -lScenery -lTime -lWeather -lMath \
|
|
|
|
-lc \
|
|
|
|
$(NULL)
|
1997-05-16 15:58:23 +00:00
|
|
|
|
1997-06-27 21:37:59 +00:00
|
|
|
|
1998-01-19 19:26:51 +00:00
|
|
|
LCDEFS = -DGLUT
|
|
|
|
LLDFLAGS =
|
|
|
|
LDLIBS = $(FGLIBS) $(FG_DEBUG_LIBS) \
|
|
|
|
$(INTERFACE_LIBS) $(GRAPHICS_LIBS) -lm -lfl
|
1997-06-27 21:37:59 +00:00
|
|
|
|
1998-01-19 19:26:51 +00:00
|
|
|
include $(FG_ROOT_SRC)/commondefs
|
1997-10-28 21:11:22 +00:00
|
|
|
|
1997-05-16 15:58:23 +00:00
|
|
|
#---------------------------------------------------------------------------
|
1998-01-19 19:26:51 +00:00
|
|
|
# Rule for TARGET
|
1997-05-16 15:58:23 +00:00
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
1998-01-21 21:11:33 +00:00
|
|
|
$(TARGET): $(OBJECTS) $(FG_ROOT_LIB)/stamp_libs
|
1998-01-19 19:26:51 +00:00
|
|
|
$(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(LDLIBS)
|
|
|
|
$(LN) -sf $(TARGET) fg$(FG_VERSION_MAJOR)
|
1997-10-25 03:24:21 +00:00
|
|
|
|
1998-01-19 19:26:51 +00:00
|
|
|
include $(COMMONRULES)
|
1997-05-16 15:58:23 +00:00
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
# $Log$
|
1998-01-21 21:11:33 +00:00
|
|
|
# Revision 1.42 1998/01/21 21:11:34 curt
|
|
|
|
# Misc. tweaks.
|
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.41 1998/01/19 19:27:08 curt
|
|
|
|
# Merged in make system changes from Bob Kuehne <rpk@sgi.com>
|
|
|
|
# This should simplify things tremendously.
|
1998-01-07 03:18:55 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.1 1998/01/07 03:16:15 curt
|
|
|
|
# Moved from .../Src/Scenery/ to .../Src/Astro/
|
1997-12-17 23:13:34 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.26 1997/12/19 16:45:01 curt
|
|
|
|
# Working on scene rendering order and options.
|
1997-12-15 23:54:25 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.25 1997/12/17 23:13:45 curt
|
|
|
|
# Began working on rendering the sky.
|
1997-12-12 21:41:24 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.24 1997/11/25 19:25:33 curt
|
|
|
|
# Changes to integrate Durk's moon/sun code updates + clean up.
|
1997-12-10 01:19:42 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.23 1997/10/28 21:00:20 curt
|
|
|
|
# Changing to new terrain format.
|
1997-10-28 21:11:22 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.22 1997/10/25 03:30:07 curt
|
|
|
|
# Misc. tweaks.
|
1997-10-25 03:24:21 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.21 1997/10/25 03:18:26 curt
|
|
|
|
# Incorporated sun, moon, and planet position and rendering code contributed
|
|
|
|
# by Durk Talsma.
|
1997-09-04 02:17:18 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.20 1997/09/22 14:44:21 curt
|
|
|
|
# Continuing to try to align stars correctly.
|
1997-08-27 21:31:27 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.19 1997/08/27 03:30:23 curt
|
|
|
|
# Changed naming scheme of basic shared structures.
|
1997-08-25 20:27:21 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.18 1997/08/02 19:10:12 curt
|
|
|
|
# Incorporated mesh2GL.c into mesh.c
|
1997-08-22 21:34:32 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.17 1997/07/23 21:52:23 curt
|
|
|
|
# Put comments around the text after an #endif for increased portability.
|
1997-08-04 20:25:15 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.16 1997/07/20 02:19:11 curt
|
1997-07-20 02:19:09 +00:00
|
|
|
# First stab at a system to generate os2 makefiles automatically.
|
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.15 1997/07/12 02:24:47 curt
|
|
|
|
# Added ranlib.
|
1997-07-19 22:34:02 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.14 1997/06/29 21:16:47 curt
|
|
|
|
# More twiddling with the Scenery Management system.
|
1997-07-18 23:41:20 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.13 1997/06/27 21:38:10 curt
|
1997-06-27 21:37:59 +00:00
|
|
|
# Working on Makefile structure.
|
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.12 1997/06/27 20:03:37 curt
|
1997-06-27 20:03:31 +00:00
|
|
|
# Working on Makefile structure.
|
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.11 1997/06/26 22:14:57 curt
|
1997-06-26 22:14:53 +00:00
|
|
|
# Beginning work on a scenery management system.
|
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.10 1997/06/26 19:08:34 curt
|
1997-06-26 19:08:22 +00:00
|
|
|
# Restructuring make, adding automatic "make dep" support.
|
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.9 1997/06/25 15:39:48 curt
|
1997-06-25 15:39:44 +00:00
|
|
|
# Minor changes to compile with rsxnt/win32.
|
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.8 1997/06/21 17:58:07 curt
|
|
|
|
# directory shuffling ...
|
1997-06-21 17:52:22 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.1 1997/06/21 17:39:28 curt
|
|
|
|
# Moved to the ParseScn subdirectory.
|
1997-06-21 17:12:38 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.6 1997/06/21 17:12:55 curt
|
|
|
|
# Capitalized subdirectory names.
|
1997-06-16 19:32:50 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.5 1997/05/31 19:16:29 curt
|
1997-05-31 19:16:24 +00:00
|
|
|
# Elevator trim added.
|
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.4 1997/05/27 17:48:50 curt
|
|
|
|
# Added -f flag to flex to generate a "fast" scanner.
|
1997-05-31 04:13:51 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.3 1997/05/23 15:40:40 curt
|
1997-05-23 15:40:24 +00:00
|
|
|
# Added GNU copyright headers.
|
1997-05-23 00:35:09 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.2 1997/05/17 00:17:01 curt
|
|
|
|
# Cosmetic changes.
|
1997-05-21 15:57:49 +00:00
|
|
|
#
|
1998-01-19 19:26:51 +00:00
|
|
|
# Revision 1.1 1997/05/16 16:07:02 curt
|
1997-05-16 15:58:23 +00:00
|
|
|
# Initial revision.
|
|
|
|
#
|