# Makefiel for timestamp
# Satofumi KAMIMURA
# $Id$

# Compile options
CC = g++
CXXFLAGS = -g -O0 -Wall -W -Werror $(INCLUDES)
INCLUDES = -I../system -I../geometry -I../math
LDFLAGS =
LDLIBS =


# Target
TIMESTAMP_LIB = timestamp.a
TARGET = $(TIMESTAMP_LIB)

all : $(TARGET)

clean :
	$(RM) *.o $(TARGET)
	cd samples/ && $(MAKE) clean

depend :
	makedepend -Y -- $(INCLUDES) -- $(wildcard *.h *.cpp)

.PHONY : all clean depend
######################################################################
$(TIMESTAMP_LIB) : \
	$(TIMESTAMP_LIB)(TimestampManager.o) \
	$(TIMESTAMP_LIB)(TimestampedPosition.o) \

# DO NOT DELETE

TimestampedPosition.o: ../geometry/Position.h ../geometry/Angle.h
TimestampManager.o: TimestampManager.h Timestamp.h ../system/ticks.h
TimestampedPosition.o: TimestampedPosition.h ../geometry/Position.h
TimestampedPosition.o: ../geometry/Angle.h ../math/MathUtils.h
TimestampedPosition.o: ../system/DetectOS.h
