Fix gateway app build (#22)

This commit is contained in:
Steve Karg
2020-01-15 08:02:15 -06:00
committed by GitHub
parent d3014c87fa
commit 63899e6606
5 changed files with 60 additions and 46 deletions
+2 -2
View File
@@ -37,14 +37,14 @@ SRC = main.c \
$(BACNET_OBJECT_DIR)/bacfile.c
BACNET_BASIC_SRC += \
$(wildcard $(BACNET_SRC_DIR)/bacnet/basic/service/*.c) \
$(wildcard $(BACNET_SRC_DIR)/bacnet/basic/service/*.c)
# TARGET_EXT is defined in apps/Makefile as .exe or nothing
TARGET_BIN = ${TARGET}$(TARGET_EXT)
SRCS = $(SRC) $(BACNET_SRC) $(BACNET_BASIC_SRC) $(BACNET_PORT_SRC)
OBJS += ${SRCS:.c=.o}
OBJS = ${SRCS:.c=.o}
.PHONY: all
all: Makefile ${TARGET_BIN}