]> git.mxchange.org Git - flightgear.git/commitdiff
First stab at a system to generate os2 makefiles automatically.
authorcurt <curt>
Sun, 20 Jul 1997 02:19:09 +0000 (02:19 +0000)
committercurt <curt>
Sun, 20 Jul 1997 02:19:09 +0000 (02:19 +0000)
Aircraft/Makefile
Controls/Makefile
FDM/Makefile
LaRCsim/Makefile
Main/Makefile
Scenery/Makefile
Simulator/Makefile
Slew/Makefile
Time/Makefile
Weather/Makefile

index 26e877c582fec3f32a530236b4270e169024a199..792081f37b5bcc136a8525022b4bca0cf478eadc 100644 (file)
@@ -48,7 +48,7 @@ $(TARGET): $(OFILES) $(HFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -58,11 +58,14 @@ clean:
 include depend
 
 aircraft.o:
-       $(CC) $(CFLAGS) $(INCLUDES) -c aircraft.c
+       $(CC) $(CFLAGS) $(INCLUDES) -c aircraft.c -o $@
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.9  1997/07/20 02:19:09  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
 # Revision 1.8  1997/07/12 02:24:37  curt
 # Added ranlib.
 #
index eee613bfaba2030cd4a28fea3c06b0de0f5289b5..3173889c80beecb88bb8acc67ed7c68e0a86786c 100644 (file)
@@ -48,7 +48,7 @@ $(TARGET): $(OFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -58,11 +58,14 @@ clean:
 include depend
 
 controls.o:
-       $(CC) $(CFLAGS) $(INCLUDES) -c controls.c
+       $(CC) $(CFLAGS) $(INCLUDES) -c controls.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/12 02:24:45  curt
 # Added ranlib.
 #
index 1787a75cc1600d1208556a8cde4a6f0f18c7402b..4f7fd0471198634d254eab334dab3e03d18c8d2a 100644 (file)
@@ -47,7 +47,7 @@ $(TARGET): $(OFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -57,11 +57,14 @@ clean:
 include depend
 
 flight.o:
-       $(CC) $(CFLAGS) $(INCLUDES) -c flight.c
+       $(CC) $(CFLAGS) $(INCLUDES) -c flight.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/12 02:24:46  curt
 # Added ranlib.
 #
index eff9016faae0e0f0dc548b48634e3d796ed3aadc..0e09fdb18c7c08f6a59b87daabae4629c2542fba 100644 (file)
@@ -44,7 +44,7 @@ simtest: $(TARGET) LaRCsim.o
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -53,9 +53,54 @@ 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.
 #
index 0760bc87708389b2a5c94e5a82392d0f36a284a0..a0bb6e9076efe2052a0e271e070f2a1e56ab21a6 100644 (file)
@@ -52,7 +52,7 @@ $(TARGET): $(OFILES) $(AFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) $(TARGET).exe lib*.a *~ core
+       rm -f *.o $(TARGET) $(TARGET).exe lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -62,20 +62,23 @@ clean:
 include depend
 
 GLmain.o:
-       $(CC) $(CFLAGS) -c GLmain.c
+       $(CC) $(CFLAGS) -c GLmain.c -o $@
 
 GLUTkey.o:
-       $(CC) $(CFLAGS) -c GLUTkey.c
+       $(CC) $(CFLAGS) -c GLUTkey.c -o $@
 
 GLTKkey.o:
-       $(CC) $(CFLAGS) -c GLTKkey.c
+       $(CC) $(CFLAGS) -c GLTKkey.c -o $@
 
 mesh2GL.o:
-       $(CC) $(CFLAGS) -c mesh2GL.c
+       $(CC) $(CFLAGS) -c mesh2GL.c -o $@
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.25  1997/07/20 02:19:11  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
 # Revision 1.24  1997/07/19 23:04:47  curt
 # Added an initial weather section.
 #
index 9dd272d5880d25f38459c40422966315453deee3..491a592125a966742c77b141f6e4707bfa061fb5 100644 (file)
@@ -48,7 +48,7 @@ $(TARGET): $(OFILES) $(HFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 realclean: clean
        rm -f scanner.c parser.c parser.h parser.output
@@ -70,25 +70,28 @@ parser.c: parser.y
        $(BISON) -o parser.c parser.y
 
 scanner.o: scanner.c
-       $(CC) $(CFLAGS) -c scanner.c
+       $(CC) $(CFLAGS) -c scanner.c -o $@
 
 parser.o: parser.c
-       $(CC) $(CFLAGS) -c parser.c
+       $(CC) $(CFLAGS) -c parser.c -o $@
 
 common.o:
-       $(CC) $(CFLAGS) -c common.c
+       $(CC) $(CFLAGS) -c common.c -o $@
 
 mesh.o:
-       $(CC) $(CFLAGS) -c mesh.c
+       $(CC) $(CFLAGS) -c mesh.c -o $@
 
 scenery.o:
-       $(CC) $(CFLAGS) -c scenery.c
+       $(CC) $(CFLAGS) -c scenery.c -o $@
 
 geometry.o:
-       $(CC) $(CFLAGS) -c geometry.c
+       $(CC) $(CFLAGS) -c geometry.c -o $@
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.16  1997/07/20 02:19:11  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
 # Revision 1.15  1997/07/12 02:24:47  curt
 # Added ranlib.
 #
index da1ed831ddf1a8ef4336d7e68f913d8d6ad4912f..676c7c1b44a83523dd66511d4b9ebbd2efb4ee70 100644 (file)
@@ -43,8 +43,16 @@ depend:
              cd $$dir; $(CC) -MM *.c > depend ) ; \
        done
 
+Makefile-os2:
+       cat Makefile | perl mkmfos2.pl > Makefile.os2; \
+       for dir in $(SUBSUBDIRS) $(SUBDIRS) $(MAIN); do \
+           ( echo "Making Makefile.os2 in $$dir"; \
+             cat $$dir/Makefile | perl mkmfos2.pl > $$dir/Makefile.os2; \
+             cat $$dir/depend   | perl mkmfos2.pl > $$dir/depend.os2) ; \
+       done
+
 clean:
-       -rm -f *~
+       -rm -f *.os2 *~
        for dir in $(SUBSUBDIRS) $(SUBDIRS) $(MAIN); do \
            (cd $$dir; $(MAKE) clean) ; \
        done
@@ -63,6 +71,9 @@ zip: clean
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.20  1997/07/20 02:19:09  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
 # Revision 1.19  1997/07/19 23:04:46  curt
 # Added an initial weather section.
 #
index 8ead29b294497dc41d37e82851a0c34e7bc49f58..3083696f69b3c009343267cc9de59f9347a15d08 100644 (file)
@@ -47,7 +47,7 @@ $(TARGET): $(OFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -57,11 +57,14 @@ clean:
 include depend
 
 slew.o:
-       $(CC) $(CFLAGS) $(INCLUDES) -c slew.c
+       $(CC) $(CFLAGS) $(INCLUDES) -c slew.c -o $@
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.8  1997/07/20 02:19:10  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
 # Revision 1.7  1997/07/12 02:24:49  curt
 # Added ranlib.
 #
index e19d2555372ab8245a3b39d1e1641f8dc117345e..a12b3e3636f54ffdf6a2ea256908e02e3bc98e76 100644 (file)
@@ -48,7 +48,7 @@ $(TARGET): $(OFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -58,11 +58,14 @@ clean:
 include depend
 
 fg_timer.o:
-       $(CC) $(CFLAGS) -c fg_timer.c
+       $(CC) $(CFLAGS) -c fg_timer.c -o $@
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.9  1997/07/20 02:19:12  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
 # Revision 1.8  1997/07/14 16:26:05  curt
 # Testing/playing -- placed objects randomly across the entire terrain.
 #
index 24b21d3623c36e21ea1b913b435879a8beffeb19..667f25c12437c88a590e4e5815d3ec418ce1b3cd 100644 (file)
@@ -48,7 +48,7 @@ $(TARGET): $(OFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -58,11 +58,14 @@ clean:
 include depend
 
 weather.o:
-       $(CC) $(CFLAGS) -c weather.c
+       $(CC) $(CFLAGS) -c weather.c -o $@
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.2  1997/07/20 02:19:12  curt
+# First stab at a system to generate os2 makefiles automatically.
+#
 # Revision 1.1  1997/07/19 23:03:57  curt
 # Initial revision.
 #