Created API for handing BACnet Character Strings, Octet Strings, and moved the Bit String handling into this module.

This commit is contained in:
skarg
2005-12-17 21:41:37 +00:00
parent 273e202afb
commit 950146b279
3 changed files with 465 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#Makefile to build unit tests
CC = gcc
BASEDIR = .
CFLAGS = -Wall -I. -Itest -g -DTEST -DTEST_BACSTR
TARGET = bacstr
SRCS = bacstr.c \
test/ctest.c
OBJS = ${SRCS:.c=.o}
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 ${OBJS} ${TARGET} *.bak
include: .depend