# Makefile for urgCtrl/c
# Satofumi KAMIMURA
# $Id$

# Compile options
CC = gcc
CFLAGS = -g -O0 -Wall -Werror ${INCLUDES}
INCLUDES = -I../../utils/c
LDFLAGS =
LDLIBS =


# Target
URG_CTRL_C_LIB = urg_ctrl.a
TARGET = ${URG_CTRL_C_LIB}

all : ${TARGET}

clean :
	${RM} ${TARGET} *.o *.tag
	cd sample/ && ${MAKE} clean

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

.PHONY : all clean depend
######################################################################
${URG_CTRL_C_LIB} : \
	${URG_CTRL_C_LIB}(urg_ctrl.o) \
# DO NOT DELETE

urg_ctrl.o: urg_ctrl.h ../../utils/c/cpp_extern_macro.h
urg_ctrl.o: ../../utils/c/detect_os.h ../../utils/c/connect_device.h
urg_ctrl.o: ../../utils/c/serial_device.h ../../utils/c/tcpip_device.h
urg_ctrl.o: ../../utils/c/math_util.h ../../utils/c/get_keyword.h
urg_ctrl.o: ../../utils/c/cpp_extern_macro.h ../../utils/c/detect_os.h
