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

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


# Target
URG_C_LIB = ../urg_ctrl.a
UTILS_C_LIB = ../../../utils/c/utils_c.a
TARGET = \
	one_scan \

all : ${TARGET}

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

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

.PHONY : all clean depend
######################################################################
${URG_C_LIB} ${UTILS_C_LIB} :
	cd ${@D}/ && ${MAKE} ${@F}

${TARGET} : ${URG_C_LIB} ${UTILS_C_LIB}
# DO NOT DELETE

one_scan.o: ../urg_ctrl.h ../../../utils/c/cpp_extern_macro.h
one_scan.o: ../../../utils/c/detect_os.h
