# Makefile for rbo/runCtrl/cpp/sample
# Satofumi KAMIMURA
# $Id$

# Compile options
CC = ${CXX}
CXXFLAGS = -g -O0 -Wall -Werror ${INCLUDES} `sdl-config --cflags`
INCLUDES = -I.. -I../../../crdCtrl/cpp -I../../../utils/cpp -I../../tRunCtrl -I../../../utils/c -I../../../ticksCtrl/cpp
LDFLAGS =
LDLIBS = `sdl-config --libs` -lSDL_net

# Target
RUN_CPP_LIB = ../runCtrl.a
UTILS_CPP_LIB = ../../../utils/cpp/utils.a
CRD_CPP_LIB = ../../../crdCtrl/cpp/crdCtrl.a
TICKS_CPP_LIB = ../../../ticksCtrl/cpp/ticksCtrl.a
TARGET = \
	followLine \
	viewRunTicks \
	stop \
	noResetPos \

all : ${TARGET}

clean :
	${RM} *.o ${TARGET}

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

.PHONY : all clean depend
######################################################################
${RUN_CPP_LIB} ${UTILS_CPP_LIB} ${CRD_CPP_LIB} ${TICKS_CPP_LIB} :
	cd ${@D}/ && ${MAKE} ${@F}

${TARGET} : ${RUN_CPP_LIB} ${UTILS_CPP_LIB} ${CRD_CPP_LIB} ${TICKS_CPP_LIB}
# DO NOT DELETE

followLine.o: ../runCtrl.h ../runInterface.h
followLine.o: ../../../crdCtrl/cpp/objCoordinateCtrl.h
followLine.o: ../../../crdCtrl/cpp/coordinateCtrl.h
followLine.o: ../../../utils/cpp/typeUtils.h ../../../utils/c/math_util.h
followLine.o: ../../../utils/c/detect_os.h
followLine.o: ../../../utils/cpp/coordinateTypes.h
followLine.o: ../../../ticksCtrl/cpp/ticksCtrlInterface.h
followLine.o: ../../../utils/cpp/connectionDevice.h
followLine.o: ../../../utils/cpp/ringBufferTemplate.h
followLine.o: ../../tRunCtrl/structTables.h ../../tRunCtrl/directDeviceCtrl.h
followLine.o: ../../tRunCtrl/motorCtrl.h ../../tRunCtrl/robotParams.h
followLine.o: ../../../utils/c/cpp_extern_macro.h
followLine.o: ../../tRunCtrl/directWheelCtrl.h ../../tRunCtrl/wheelCtrl.h
followLine.o: ../../tRunCtrl/encCtrl.h ../../tRunCtrl/modeCtrl.h
followLine.o: ../../tRunCtrl/velocityCtrl.h ../../tRunCtrl/velocityInfo.h
followLine.o: ../../tRunCtrl/bodyPosition.h
followLine.o: ../../tRunCtrl/coordinateCtrl_target.h
followLine.o: ../../tRunCtrl/bodyCtrl.h ../../tRunCtrl/nodeAccess.h
followLine.o: ../../../utils/cpp/timeUtils.h ../commandCtrl.h
noResetPos.o: ../runCtrl.h ../runInterface.h
noResetPos.o: ../../../crdCtrl/cpp/objCoordinateCtrl.h
noResetPos.o: ../../../crdCtrl/cpp/coordinateCtrl.h
noResetPos.o: ../../../utils/cpp/typeUtils.h ../../../utils/c/math_util.h
noResetPos.o: ../../../utils/c/detect_os.h
noResetPos.o: ../../../utils/cpp/coordinateTypes.h
noResetPos.o: ../../../ticksCtrl/cpp/ticksCtrlInterface.h
noResetPos.o: ../../../utils/cpp/connectionDevice.h
noResetPos.o: ../../../utils/cpp/ringBufferTemplate.h
noResetPos.o: ../../tRunCtrl/structTables.h ../../tRunCtrl/directDeviceCtrl.h
noResetPos.o: ../../tRunCtrl/motorCtrl.h ../../tRunCtrl/robotParams.h
noResetPos.o: ../../../utils/c/cpp_extern_macro.h
noResetPos.o: ../../tRunCtrl/directWheelCtrl.h ../../tRunCtrl/wheelCtrl.h
noResetPos.o: ../../tRunCtrl/encCtrl.h ../../tRunCtrl/modeCtrl.h
noResetPos.o: ../../tRunCtrl/velocityCtrl.h ../../tRunCtrl/velocityInfo.h
noResetPos.o: ../../tRunCtrl/bodyPosition.h
noResetPos.o: ../../tRunCtrl/coordinateCtrl_target.h
noResetPos.o: ../../tRunCtrl/bodyCtrl.h ../../tRunCtrl/nodeAccess.h
noResetPos.o: ../../../utils/cpp/timeUtils.h ../commandCtrl.h
stop.o: ../runCtrl.h ../runInterface.h
stop.o: ../../../crdCtrl/cpp/objCoordinateCtrl.h
stop.o: ../../../crdCtrl/cpp/coordinateCtrl.h ../../../utils/cpp/typeUtils.h
stop.o: ../../../utils/c/math_util.h ../../../utils/c/detect_os.h
stop.o: ../../../utils/cpp/coordinateTypes.h
stop.o: ../../../ticksCtrl/cpp/ticksCtrlInterface.h
stop.o: ../../../utils/cpp/connectionDevice.h
stop.o: ../../../utils/cpp/ringBufferTemplate.h ../../tRunCtrl/structTables.h
stop.o: ../../tRunCtrl/directDeviceCtrl.h ../../tRunCtrl/motorCtrl.h
stop.o: ../../tRunCtrl/robotParams.h ../../../utils/c/cpp_extern_macro.h
stop.o: ../../tRunCtrl/directWheelCtrl.h ../../tRunCtrl/wheelCtrl.h
stop.o: ../../tRunCtrl/encCtrl.h ../../tRunCtrl/modeCtrl.h
stop.o: ../../tRunCtrl/velocityCtrl.h ../../tRunCtrl/velocityInfo.h
stop.o: ../../tRunCtrl/bodyPosition.h ../../tRunCtrl/coordinateCtrl_target.h
stop.o: ../../tRunCtrl/bodyCtrl.h ../../tRunCtrl/nodeAccess.h
stop.o: ../../../utils/cpp/timeUtils.h ../commandCtrl.h
viewRunTicks.o: ../runCtrl.h ../runInterface.h
viewRunTicks.o: ../../../crdCtrl/cpp/objCoordinateCtrl.h
viewRunTicks.o: ../../../crdCtrl/cpp/coordinateCtrl.h
viewRunTicks.o: ../../../utils/cpp/typeUtils.h ../../../utils/c/math_util.h
viewRunTicks.o: ../../../utils/c/detect_os.h
viewRunTicks.o: ../../../utils/cpp/coordinateTypes.h
viewRunTicks.o: ../../../ticksCtrl/cpp/ticksCtrlInterface.h
viewRunTicks.o: ../../../utils/cpp/connectionDevice.h
viewRunTicks.o: ../../../utils/cpp/ringBufferTemplate.h
viewRunTicks.o: ../../tRunCtrl/structTables.h
viewRunTicks.o: ../../tRunCtrl/directDeviceCtrl.h ../../tRunCtrl/motorCtrl.h
viewRunTicks.o: ../../tRunCtrl/robotParams.h
viewRunTicks.o: ../../../utils/c/cpp_extern_macro.h
viewRunTicks.o: ../../tRunCtrl/directWheelCtrl.h ../../tRunCtrl/wheelCtrl.h
viewRunTicks.o: ../../tRunCtrl/encCtrl.h ../../tRunCtrl/modeCtrl.h
viewRunTicks.o: ../../tRunCtrl/velocityCtrl.h ../../tRunCtrl/velocityInfo.h
viewRunTicks.o: ../../tRunCtrl/bodyPosition.h
viewRunTicks.o: ../../tRunCtrl/coordinateCtrl_target.h
viewRunTicks.o: ../../tRunCtrl/bodyCtrl.h ../../tRunCtrl/nodeAccess.h
viewRunTicks.o: ../../../utils/cpp/timeUtils.h ../commandCtrl.h
