Initial revision

This commit is contained in:
skarg
2004-09-22 19:08:48 +00:00
parent f9c8dc61be
commit 9a9e31ace6
110 changed files with 6921 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
#Makefile to build BACnet Application
CC = gcc
BASEDIR = .
#CFLAGS = -Wall -I.
# -g for debugging with gdb
#CFLAGS = -Wall -I. -g
CFLAGS = -Wall -I. -Itest -g
OBJS = main.o mstp.o crc.o ringbuf.o ports/linux/rs485.o
TARGET = bacnet
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 ports/linux/*.bak *.1 *.ini
include: .depend