]> git.mxchange.org Git - flightgear.git/blobdiff - LaRCsim/Makefile
First stab at a system to generate os2 makefiles automatically.
[flightgear.git] / LaRCsim / Makefile
index a195d5189a6495a987671143966181dd383c1cc0..0e09fdb18c7c08f6a59b87daabae4629c2542fba 100644 (file)
@@ -11,7 +11,7 @@
 TARGET = libLaRCsim.a
 
 LaRCsimFILES = atmos_62.c ls_accel.c ls_aux.c ls_geodesy.c ls_gravity.c \
-       ls_step.c ls_model.c default_model_routines.c ls_init.c ls_sync.c
+       ls_step.c ls_model.c default_model_routines.c ls_init.c ls_sync.c
 
 NavionFILES = navion_aero.c navion_engine.c navion_gear.c navion_init.c
 
@@ -36,6 +36,7 @@ LIBS = -lm
 
 $(TARGET): $(OFILES)
        $(AR) rv $(TARGET) $(OFILES)
+       $(RANLIB) $(TARGET)
 
 simtest: $(TARGET) LaRCsim.o
        $(CC) -o simtest LaRCsim.o libLaRCsim.a $(LIBS)
@@ -43,7 +44,7 @@ simtest: $(TARGET) LaRCsim.o
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -52,9 +53,64 @@ clean:
 
 include depend
 
+atmos_62.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+default_model_routines.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+ls_accel.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+ls_aux.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+ls_geodesy.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+ls_gravity.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+ls_init.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+ls_interface.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+ls_model.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+ls_step.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+navion_aero.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+navion_engine.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+navion_gear.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
+navion_init.o:
+       $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
+
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.10  1997/07/20 02:19:10  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
+# Revision 1.9  1997/07/18 23:41:23  curt
+# Tweaks for building with Cygnus Win32 compiler.
+#
+# Revision 1.8  1997/07/12 02:24:48  curt
+# Added ranlib.
+#
+# Revision 1.7  1997/07/07 20:59:48  curt
+# Working on scenery transformations to enable us to fly fluidly over the
+# poles with no discontinuity/distortion in scenery.
+#
 # Revision 1.6  1997/06/27 21:38:06  curt
 # Working on Makefile structure.
 #