# Makefile for running
# Satofumi KAMIMURA
# $Id$

# Compile options
CC = g++
CXXFLAGS = -g -O0 -Wall -Werror ${INCLUDES}
INCLUDES = -I../coordinate -I../geometry -I../system -IrunCtrl/crdCtrl/cpp -IrunCtrl/utils/cpp -IrunCtrl/utils/c -IrunCtrl/ticksCtrl/cpp -IrunCtrl/tRunCtrl
LDFLAGS =
LDLIBS =


# Target
RUNNING_LIB = running.a
TARGET = ${RUNNING_LIB}

all : ${TARGET}

clean :
	${RM} *.o ${TARGET}
	cd tDifferentialDrive/ && ${MAKE} clean
	cd runCtrl/ && ${MAKE} clean
	cd samples/ && ${MAKE} clean

depend :
	makedepend -Y -- ${INCLUDES} -- ${wildcard *.h *.cpp}

.PHONY : all clean depend
######################################################################
${RUNNING_LIB} : \
	${RUNNING_LIB}(DifferentialDrive.o) \
	${RUNNING_LIB}(AdditionalRunCommands.o)

# DO NOT DELETE

AdditionalRunCommands.o: ../geometry/PositionTypes.h ../geometry/AngleTypes.h
AdditionalRunCommands.o: ../geometry/GridTypes.h
DifferentialDrive.o: RunCtrl.h ../coordinate/Coordinate.h
DifferentialDrive.o: ../geometry/PositionTypes.h ../geometry/AngleTypes.h
DifferentialDrive.o: AdditionalRunCommands.h ../geometry/GridTypes.h
RunCtrl.o: ../coordinate/Coordinate.h ../geometry/PositionTypes.h
RunCtrl.o: ../geometry/AngleTypes.h AdditionalRunCommands.h
RunCtrl.o: ../geometry/GridTypes.h
AdditionalRunCommands.o: AdditionalRunCommands.h ../geometry/PositionTypes.h
AdditionalRunCommands.o: ../geometry/AngleTypes.h ../geometry/GridTypes.h
DifferentialDrive.o: DifferentialDrive.h RunCtrl.h ../coordinate/Coordinate.h
DifferentialDrive.o: ../geometry/PositionTypes.h ../geometry/AngleTypes.h
DifferentialDrive.o: AdditionalRunCommands.h ../geometry/GridTypes.h
DifferentialDrive.o: runCtrl/cpp/runCtrl.h runCtrl/cpp/runInterface.h
DifferentialDrive.o: runCtrl/crdCtrl/cpp/objCoordinateCtrl.h
DifferentialDrive.o: runCtrl/crdCtrl/cpp/coordinateCtrl.h
DifferentialDrive.o: runCtrl/utils/cpp/typeUtils.h
DifferentialDrive.o: runCtrl/utils/c/math_util.h runCtrl/utils/c/detect_os.h
DifferentialDrive.o: runCtrl/utils/cpp/coordinateTypes.h
DifferentialDrive.o: runCtrl/ticksCtrl/cpp/ticksCtrlInterface.h
DifferentialDrive.o: runCtrl/utils/cpp/connectionDevice.h
DifferentialDrive.o: runCtrl/utils/cpp/ringBufferTemplate.h
DifferentialDrive.o: runCtrl/tRunCtrl/structTables.h
DifferentialDrive.o: runCtrl/tRunCtrl/directDeviceCtrl.h
DifferentialDrive.o: runCtrl/tRunCtrl/motorCtrl.h
DifferentialDrive.o: runCtrl/tRunCtrl/robotParams.h
DifferentialDrive.o: runCtrl/tRunCtrl/directWheelCtrl.h
DifferentialDrive.o: runCtrl/tRunCtrl/wheelCtrl.h runCtrl/tRunCtrl/encCtrl.h
DifferentialDrive.o: runCtrl/tRunCtrl/modeCtrl.h
DifferentialDrive.o: runCtrl/tRunCtrl/velocityCtrl.h
DifferentialDrive.o: runCtrl/tRunCtrl/velocityInfo.h
DifferentialDrive.o: runCtrl/tRunCtrl/bodyPosition.h
DifferentialDrive.o: runCtrl/tRunCtrl/coordinateCtrl_target.h
DifferentialDrive.o: runCtrl/tRunCtrl/bodyCtrl.h
DifferentialDrive.o: runCtrl/tRunCtrl/nodeAccess.h
DifferentialDrive.o: runCtrl/utils/cpp/timeUtils.h runCtrl/cpp/commandCtrl.h
