]> git.mxchange.org Git - flightgear.git/blobdiff - Controls/Makefile
Source code formating tweaks.
[flightgear.git] / Controls / Makefile
index 7315b7ade05d8c563793090294b0cb7876cc267d..3aa67ba74ea1765dbdc89772bc728bd19e5b90cb 100644 (file)
 # (Log is kept at end of this file)
 #---------------------------------------------------------------------------
 
-
-TARGET = libControls.a
+ARLIBRARY = libControls.a
+TARGETS = $(ARLIBRARY)
 
 CFILES = controls.c
-HFILES = controls.h
-OFILES = $(CFILES:.c=.o)
-
-CC = gcc
-CFLAGS = $(FG_CFLAGS)
-
-AR = ar
-
-INCLUDES = 
+CXXFILES = 
 
-LIBS = 
+LDIRT = $(FG_ROOT_LIB)/$(ARLIBRARY)
 
+include $(FG_ROOT_SRC)/commondefs
 
-#---------------------------------------------------------------------------
-# Primary Targets
-#---------------------------------------------------------------------------
-
-$(TARGET): $(OFILES)
-       $(AR) rv $(TARGET) $(OFILES)
-
-all: $(TARGET)
-
-dep:                                 
-       $(CC) -MM *.c > depend                     
-
-clean:
-       rm -f *.o $(TARGET) lib*.a *~ core
-
-
-#---------------------------------------------------------------------------
-# Secondary Targets
-#---------------------------------------------------------------------------
-
-include depend
-
-controls.o:
-       $(CC) $(CFLAGS) $(INCLUDES) -c controls.c
-
-
-#---------------------------------------------------------------------------
-# $Log$
-# 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.
-#
-# Revision 1.2  1997/05/23 15:40:32  curt
-# Added GNU copyright headers.
-#
-# Revision 1.1  1997/05/16 15:59:47  curt
-# Initial revision.
-#
+include $(COMMONRULES)