Files
bacnet_stack/bacnet-stack/ihave.mak
T
skarg 5fcf45a781 Created I-Have service encoding/decoding/unit test.
Added handlers for I-Have and Who-Has.
Added send for I-Have and Who-Has.
Created demo for WhoHas.
Added I-Have handling in server demo.
2006-02-16 21:35:06 +00:00

35 lines
539 B
Makefile

#Makefile to build test case
CC = gcc
BASEDIR = .
#CFLAGS = -Wall -I.
# -g for debugging with gdb
#CFLAGS = -Wall -I. -g
CFLAGS = -Wall -I. -Itest -DTEST -DTEST_I_HAVE -g
SRCS = bacdcode.c \
bacstr.c \
bigend.c \
ihave.c \
test/ctest.c
OBJS = ${SRCS:.c=.o}
TARGET = ihave
all: ${TARGET}
${TARGET}: ${OBJS}
${CC} -o $@ ${OBJS}
.c.o:
${CC} -c ${CFLAGS} $*.c -o $@
depend:
rm -f .depend
${CC} -MM ${CFLAGS} *.c >> .depend
clean:
rm -rf core ${TARGET} $(OBJS) *.bak *.1 *.ini
include: .depend