Files
bacnet_stack/bacnet-stack/bacdcode.mak
T
skarg 1cc71f8d14 changed the modules to use the new BACNet string types.
Modified the device object to handle having the string properties changed via WriteProperty service.
Updated the unit tests.
Updated the demo objects.
2005-12-23 17:39:36 +00:00

31 lines
447 B
Makefile

#Makefile to build unit tests
CC = gcc
BASEDIR = .
CFLAGS = -Wall -I. -Itest -g -DTEST -DTEST_DECODE
TARGET = bacdcode
SRCS = bacdcode.c \
bacstr.c \
bigend.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