]> git.mxchange.org Git - flightgear.git/blobdiff - Slew/Makefile
Working on Makefile structure.
[flightgear.git] / Slew / Makefile
index 0ef289bf6c69e484a82205626d487a33e5c85af7..7f733647d7bf0c8b394bb43baf7dabbabf494370 100644 (file)
 #---------------------------------------------------------------------------
 
 
-TARGET=libslew.a
+TARGET=libSlew.a
 
 CFILES = slew.c
 OFILES = $(CFILES:.c=.o)
 
 CC = gcc
-CFLAGS = -g -Wall
-# CFLAGS = -O2 -Wall
+CFLAGS = $(FG_CFLAGS)
 
 AR = ar
 
@@ -49,20 +48,37 @@ $(TARGET): $(OFILES)
 
 all: $(TARGET)
 
+# depend:
+#      $(CC) -MM *.c > depend                     
+
 clean:
-       rm -f *.o $(TARGET) *~ core
+       rm -f *.o $(TARGET) lib*.a *~ core
 
 
 #---------------------------------------------------------------------------
 # Secondary Targets
 #---------------------------------------------------------------------------
 
-slew.o: slew.c slew.h ../../aircraft/aircraft.h ../../controls/controls.h
+include depend
+
+slew.o:
        $(CC) $(CFLAGS) $(INCLUDES) -c slew.c
 
 
 #---------------------------------------------------------------------------
 # $Log$
+# Revision 1.5  1997/06/27 20:03:36  curt
+# Working on Makefile structure.
+#
+# Revision 1.4  1997/06/26 19:08:31  curt
+# Restructuring make, adding automatic "make dep" support.
+#
+# Revision 1.3  1997/06/25 15:39:46  curt
+# Minor changes to compile with rsxnt/win32.
+#
+# Revision 1.2  1997/06/21 17:12:51  curt
+# Capitalized subdirectory names.
+#
 # Revision 1.1  1997/05/29 02:29:42  curt
 # Moved to their own directory.
 #