# Makefile for cap

SRCS = CAPofSICSagent.c CQNode.c CQNode.h CQueue.c CRNode.c CRecord.c agentInfo.c agent_info.c make_message.c method_procedure.c select_method.c worldInfo.c world_info.c

OBJS = SMessage.o
# CAPofSICSagent.o CQNode.o CQNode.h CQueue.o CRNode.o CRecord.o agentInfo.o agent_info.o make_message.o method_procedure.o select_method.o worldInfo.o world_info.o
TARGET=../../lib/libcap_common.a
TOPDIR=..
CFLAGS_ADD= 

AR=/bin/ar
RANLIB=/bin/ranlib
CC = gcc

CFLAGS = -Wall -g -I${TOPDIR}/include ${CFLAGS_ADD}

all: ${TARGET}

${TARGET}: ${OBJS}
	rm -f ${TARGET}
	${AR} rcv ${TARGET} ${OBJS}
	${RANLIB} ${TARGET}

clean:
	rm -f ${TARGET} ${OBJS} core 

# dep: ${SRCS}
#	$(CPP) ${CFLAGS} -M ${SRCS} > .depend
#
#
# include a dependency file if one exists
#
# ifeq (.depend,$(wildcard .depend))
# 	include .depend
# endif
