]> git.mxchange.org Git - flightgear.git/blobdiff - Time/Makefile
More misc. tweaks for rpk make merge.
[flightgear.git] / Time / Makefile
index 0e23092255cd58df3200d692772d55103ef85f88..1a749bd8251b1b13cec41a217a80d8cd096b19d7 100644 (file)
 # (Log is kept at end of this file)
 #---------------------------------------------------------------------------
 
+ARLIBRARY = libTime.a
+TARGETS = $(ARLIBRARY)
 
-TARGET = libtimer.a
+CFILES = event.c fg_time.c fg_timer.c scheduler.c sunpos.c
+CXXFILES = 
 
-CFILES = fg_timer.c
-HFILES = fg_timer.h
-OFILES = $(CFILES:.c=.o)
+LDIRT = $(FG_ROOT_LIB)/$(ARLIBRARY)
 
-CC = gcc
-CFLAGS = -g -Wall
-# CFLAGS = -O2 -Wall
+include $(FG_ROOT_SRC)/commondefs
 
-AR = ar
-
-INCLUDES = 
-
-LIBS = 
-
-
-#---------------------------------------------------------------------------
-# Primary Targets
-#---------------------------------------------------------------------------
-
-$(TARGET): $(OFILES)
-       $(AR) rv $(TARGET) $(OFILES)
-
-all: $(TARGET)
-
-clean:
-       rm -f *.o $(TARGET) *~ core
-
-
-#---------------------------------------------------------------------------
-# Secondary Targets
-#---------------------------------------------------------------------------
-
-fg_timer.o: fg_timer.c fg_timer.h
-       $(CC) $(CFLAGS) $(INCLUDES) -c fg_timer.c
-
-
-#---------------------------------------------------------------------------
-# $Log$
-# Revision 1.1  1997/06/16 19:24:19  curt
-# Initial revision.
-#
+include $(COMMONRULES)