]> git.mxchange.org Git - flightgear.git/blobdiff - Weather/Makefile
Merged in make system changes from Bob Kuehne <rpk@sgi.com>
[flightgear.git] / Weather / Makefile
index 667f25c12437c88a590e4e5815d3ec418ce1b3cd..9c4b10e8987502ee99f5549857f70e95e0de0604 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 = libWeather.a
+ARLIBRARY = libWeather.a
+TARGETS = $(ARLIBRARY)
 
 CFILES = weather.c
-HFILES = weather.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
-
-weather.o:
-       $(CC) $(CFLAGS) -c weather.c -o $@
-
-
-#---------------------------------------------------------------------------
-# $Log$
-# Revision 1.2  1997/07/20 02:19:12  curt
-# First stab at a system to generate os2 makefiles automatically.
-#
-# Revision 1.1  1997/07/19 23:03:57  curt
-# Initial revision.
-#
+include $(COMMONRULES)