Added UTC option to BACnet TimeSync app (#396)
Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -63,6 +63,20 @@ BACNET_DEFINES += -DWEAK_FUNC=
|
||||
BACNET_DEFINES += $(MAKE_DEFINE)
|
||||
|
||||
# Choose a BACnet Ports Directory for the example applications target OS
|
||||
ifeq (${BACNET_PORT},)
|
||||
ifeq ($(OS),Windows_NT)
|
||||
BACNET_PORT = win32
|
||||
else
|
||||
UNAME_S := $(shell uname -s)
|
||||
ifeq ($(UNAME_S),Linux)
|
||||
BACNET_PORT = linux
|
||||
endif
|
||||
ifeq ($(UNAME_S),Darwin)
|
||||
BACNET_PORT = bsd
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# linux, win32, bsd
|
||||
BACNET_PORT ?= linux
|
||||
|
||||
|
||||
Reference in New Issue
Block a user