Added OS detection into tests to add EXE extension to test executables for cleanup. (#46)

This commit is contained in:
Steve Karg
2020-02-18 08:22:16 -06:00
committed by GitHub
parent 9c41180145
commit 677f528aa4
47 changed files with 426 additions and 148 deletions
+7 -1
View File
@@ -17,7 +17,13 @@ SRCS = $(SRC_DIR)/bacnet/proplist.c \
$(SRC_DIR)/bacnet/lighting.c \
ctest.c
TARGET = proplist
TARGET_NAME = proplist
ifeq ($(OS),Windows_NT)
TARGET_EXT = .exe
else
TARGET_EXT =
endif
TARGET = $(TARGET_NAME)$(TARGET_EXT)
OBJS = ${SRCS:.c=.o}