]> git.mxchange.org Git - flightgear.git/blobdiff - Cockpit/Makefile
Merged in make system changes from Bob Kuehne <rpk@sgi.com>
[flightgear.git] / Cockpit / Makefile
index dc02e1f4e1ef6ced77a52fdd893126a8d7c7ebcb..d2c6ee0bff2d99d3ee005e01a45e4886f852f1d0 100644 (file)
@@ -1,7 +1,7 @@
 #---------------------------------------------------------------------------
 # Makefile
 #
-# Written by Curtis Olson, started July 1997.
+# Written by Curtis Olson, started May 1997.
 #
 # Copyright (C) 1997  Curtis L. Olson  - curt@infoplane.com
 #
 # (Log is kept at end of this file)
 #---------------------------------------------------------------------------
 
-
-TARGET = libCockpit.a
+ARLIBRARY = libCockpit.a
+TARGETS = $(ARLIBRARY)
 
 CFILES = cockpit.c hud.c
-HFILES = cockpit.h hud.h
-OFILES = $(CFILES:.c=.o)
-
-
-include ../make.inc
-
-
-CFLAGS = $(FG_CFLAGS)
-
-
-#---------------------------------------------------------------------------
-# Primary Targets
-#---------------------------------------------------------------------------
-
-$(TARGET): $(OFILES)
-       $(AR) rv $(TARGET) $(OFILES)
-       $(RANLIB) $(TARGET)
+CXXFILES = 
 
-all: $(TARGET)
+LDIRT = $(FG_ROOT_LIB)/$(ARLIBRARY)
 
-clean:
-       rm -f *.o $(TARGET) lib*.a *.os2 *~ core
+include $(FG_ROOT_SRC)/commondefs
 
-
-#---------------------------------------------------------------------------
-# Secondary Targets
-#---------------------------------------------------------------------------
-
-include depend
-
-cockpit.o:
-       $(CC) $(CFLAGS) -c cockpit.c -o $@
-
-hud.o:
-       $(CC) $(CFLAGS) -c hud.c -o $@
-
-
-#---------------------------------------------------------------------------
-# $Log$
-# Revision 1.1  1997/08/29 18:03:19  curt
-# Initial revision.
-#
+include $(COMMONRULES)