]> git.mxchange.org Git - flightgear.git/blobdiff - Controls/Makefile
Working on Makefile structure.
[flightgear.git] / Controls / Makefile
index 1c1e1e4f0ff621ae373d281fb52beb29361b6558..e738f402d0b464777075b2fd5802b89386f3ccf9 100644 (file)
 #---------------------------------------------------------------------------
 
 
-TARGET = libcontrols.a
+TARGET = libControls.a
 
 CFILES = controls.c
 HFILES = controls.h
 OFILES = $(CFILES:.c=.o)
 
-CC = gcc
-CFLAGS = -g -Wall
-# CFLAGS = -O2 -Wall
 
-AR = ar
+include ../make.inc
 
-INCLUDES = 
 
-LIBS = 
+CFLAGS = $(FG_CFLAGS)
 
 
 #---------------------------------------------------------------------------
@@ -51,22 +47,36 @@ $(TARGET): $(OFILES)
 all: $(TARGET)
 
 clean:
-       rm -f *.o $(TARGET) *~ core
+       rm -f *.o $(TARGET) lib*.a *~ core
 
 
 #---------------------------------------------------------------------------
 # Secondary Targets
 #---------------------------------------------------------------------------
 
-controls.h: ../limits.h
-       touch controls.h
+include depend
 
-controls.o: controls.c controls.h ../aircraft/aircraft.h
+controls.o:
        $(CC) $(CFLAGS) $(INCLUDES) -c controls.c
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.8  1997/06/27 21:38:03  curt
+# Working on Makefile structure.
+#
+# Revision 1.7  1997/06/27 20:03:33  curt
+# Working on Makefile structure.
+#
+# Revision 1.6  1997/06/26 19:08:29  curt
+# Restructuring make, adding automatic "make dep" support.
+#
+# 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.
 #