# (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 sidereal.c sunpos.c test_event.c ttest.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)