TARGET = fg-$(FG_VERSION)
-CFILES = fg_init.c views.c $(INTERFACE_FILES)
+CFILES = fg_init.c fg_debug.c views.c $(INTERFACE_FILES)
FGLIBS = -lAircraft -lAstro -lCockpit -lControls -lFlight \
-lJoystick -lLaRCsim -lSlew -lScenery -lTime -lWeather -lMath \
- -lc \
$(NULL)
LCDEFS = -DGLUT
LLDFLAGS =
LDLIBS = $(FGLIBS) $(FG_DEBUG_LIBS) \
- $(INTERFACE_LIBS) $(GRAPHICS_LIBS) -lm -lfl
+ $(INTERFACE_LIBS) $(GRAPHICS_LIBS) -lm
include $(FG_ROOT_SRC)/commondefs
# Rule for TARGET
#---------------------------------------------------------------------------
-$(TARGET): $(OBJECTS) $(FG_ROOT_LIB)/stamp_libs
- $(CC) -o $(TARGET) $(OBJECTS) $(LDFLAGS) $(LDLIBS)
- $(LN) -sf $(TARGET) fg$(FG_VERSION_MAJOR)
+$(TARGET)$(EXT): $(OBJECTS) $(FG_ROOT_LIB)/stamp_libs
+ $(CC) -o $(TARGET)$(EXT) $(OBJECTS) $(LDFLAGS) $(LDLIBS)
+ $(RM) -f fg$(FG_VERSION_MAJOR)$(EXT)
+ $(LN) $(TARGET)$(EXT) fg$(FG_VERSION_MAJOR)$(EXT)
include $(COMMONRULES)
#---------------------------------------------------------------------------
# $Log$
+# Revision 1.47 1998/02/09 22:56:56 curt
+# Removed "depend" files from cvs control. Other minor make tweaks.
+#
+# Revision 1.46 1998/02/03 23:20:24 curt
+# Lots of little tweaks to fix various consistency problems discovered by
+# Solaris' CC. Fixed a bug in fg_debug.c with how the fgPrintf() wrapper
+# passed arguments along to the real printf(). Also incorporated HUD changes
+# by Michele America.
+#
+# Revision 1.45 1998/01/27 00:47:57 curt
+# Incorporated Paul Bleisch's <bleisch@chromatic.com> new debug message
+# system and commandline/config file processing code.
+#
+# Revision 1.44 1998/01/22 22:04:00 curt
+# Tweaked extention stuff.
+#
+# Revision 1.43 1998/01/22 02:59:37 curt
+# Changed #ifdef FILE_H to #ifdef _FILE_H
+#
# Revision 1.42 1998/01/21 21:11:34 curt
# Misc. tweaks.
#