]> git.mxchange.org Git - flightgear.git/blobdiff - Controls/Makefile
Minor changes to compile with rsxnt/win32.
[flightgear.git] / Controls / Makefile
index 3aae602832bac6ce4be6bc1f1f4f751b6e5727ed..baa1e8bfb4e1fad7dc2e72eaa7aa9ed4aadea5ed 100644 (file)
@@ -24,9 +24,9 @@
 #---------------------------------------------------------------------------
 
 
-TARGET = stamp-done
+TARGET = libControls.a
 
-CFILES = 
+CFILES = controls.c
 HFILES = controls.h
 OFILES = $(CFILES:.c=.o)
 
@@ -45,13 +45,13 @@ LIBS =
 # Primary Targets
 #---------------------------------------------------------------------------
 
-$(TARGET): $(OFILES) $(HFILES)
-       touch stamp-done
+$(TARGET): $(OFILES)
+       $(AR) rv $(TARGET) $(OFILES)
 
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) *~ core
+       rm -f *.o $(TARGET) lib*.a *~ core
 
 
 #---------------------------------------------------------------------------
@@ -61,9 +61,21 @@ clean:
 controls.h: ../limits.h
        touch controls.h
 
+controls.o: controls.c controls.h ../Aircraft/aircraft.h
+       $(CC) $(CFLAGS) $(INCLUDES) -c controls.c
+
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.5  1997/06/25 15:39:46  curt
+# Minor changes to compile with rsxnt/win32.
+#
+# Revision 1.4  1997/06/21 17:12:47  curt
+# Capitalized subdirectory names.
+#
+# Revision 1.3  1997/05/31 19:16:27  curt
+# Elevator trim added.
+#
 # Revision 1.2  1997/05/23 15:40:32  curt
 # Added GNU copyright headers.
 #