From 0dcb66bfc12bb6ff34c98f68c84cc1a24f7a2523 Mon Sep 17 00:00:00 2001 From: Gabriel mermelstein Date: Fri, 20 Sep 2024 12:57:37 +0300 Subject: [PATCH] using dll only for windows --- cpp/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/Makefile b/cpp/Makefile index ef59f12..3bc3c74 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -6,8 +6,10 @@ INCS = -I$(NEGENTROPY_ROOT) -I/opt/homebrew/include/ -I$(NEGENTROPY_ROOT)/vendor ifeq ($(detected_OS),Linux) TARGET = libnegentropy.a -else +else ifeq ($(OS),Windows_NT) TARGET = libnegentropy.dll +else + TARGET = libnegentropy.so endif .PHONY: all clean install-deps precompiled-header build-lib