# Makefile for path
# Satofumi KAMIMURA
# $Id: Makefile 1545 2009-11-22 10:03:00Z satofumi $

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


# Target
PATH_LIB = path.a
TARGET = $(PATH_LIB)

all : $(TARGET)

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

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

.PHONY : all clean depend
######################################################################
$(PATH_LIB) : \
	$(PATH_LIB)(FollowLines.o) \
	$(PATH_LIB)(SearchPath.o) \

# DO NOT DELETE

FollowLines.o: ../geometry/Point.h ../geometry/Position.h ../geometry/Angle.h
SearchPath.o: ../geometry/Point.h
FollowLines.o: FollowLines.h ../geometry/Point.h ../geometry/Position.h
FollowLines.o: ../geometry/Angle.h ../running/Running.h
FollowLines.o: ../geometry/PointUtils.h ../math/MathUtils.h
FollowLines.o: ../system/DetectOS.h ../geometry/PositionUtils.h
FollowLines.o: ../geometry/AngleUtils.h
SearchPath.o: SearchPath.h ../geometry/Point.h ../math/MathUtils.h
SearchPath.o: ../system/DetectOS.h
