Added OS detection into tests to add EXE extension to test executables for cleanup. (#46)
This commit is contained in:
+7
-1
@@ -13,7 +13,13 @@ SRCS = $(SRC_DIR)/bacnet/bacdcode.c \
|
||||
$(SRC_DIR)/bacnet/datalink/bvlc6.c \
|
||||
ctest.c
|
||||
|
||||
TARGET = bvlc6
|
||||
TARGET_NAME = bvlc6
|
||||
ifeq ($(OS),Windows_NT)
|
||||
TARGET_EXT = .exe
|
||||
else
|
||||
TARGET_EXT =
|
||||
endif
|
||||
TARGET = $(TARGET_NAME)$(TARGET_EXT)
|
||||
|
||||
all: ${TARGET}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user