Skip to content

Commit d824acc

Browse files
author
Enrico Steffinlongo
committed
Changed make build to have same behaviour of cmake
Changed make build to have the same behaviour of cmake on memory-analyzer.
1 parent b62b90b commit d824acc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ else
5252
detected_OS := $(shell sh -c 'uname 2>/dev/null || echo Unknown')
5353
endif
5454

55-
ifeq ($(detected_OS),Linux)
55+
ifeq ($(WITH_MEMORY_ANALYZER),1)
5656
all: memory-analyzer.dir
57-
else ifeq ($(WITH_MEMORY_ANALYZER),1)
57+
else ifneq ($(filter-out Windows Darwin,$(detected_OS)),)
5858
all: memory-analyzer.dir
5959
endif
6060

0 commit comments

Comments
 (0)