]> git.mxchange.org Git - flightgear.git/blobdiff - FDM/Makefile
Shufflin' stuff.
[flightgear.git] / FDM / Makefile
index 1a3a9b66490f13de4146ce87954d3d9f340fb07d..4f7fd0471198634d254eab334dab3e03d18c8d2a 100644 (file)
@@ -42,11 +42,12 @@ CFLAGS = $(FG_CFLAGS)
 
 $(TARGET): $(OFILES)
        $(AR) rv $(TARGET) $(OFILES)
+       $(RANLIB) $(TARGET)
 
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
+       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
 
 
 #---------------------------------------------------------------------------
@@ -56,11 +57,17 @@ 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.
+#
 # Revision 1.8  1997/06/27 21:38:05  curt
 # Working on Makefile structure.
 #