chore: update target according to OS, rn install-deps not required

This commit is contained in:
DarshanBPatel 2024-09-10 23:26:41 +05:30
parent 4b52bcea11
commit a07aeb9f21
No known key found for this signature in database
GPG Key ID: 9A92CCD9899F0D22

View File

@ -3,7 +3,12 @@
# Define the root directory of the negentropy project; this absolute path mechanism works across all major os
NEGENTROPY_ROOT := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
INCS = -I$(NEGENTROPY_ROOT) -I/opt/homebrew/include/ -I$(NEGENTROPY_ROOT)/vendor/lmdbxx/include/
TARGET = libnegentropy.so
ifeq ($(OS),Windows_NT)
TARGET = negentropy.dll
else
TARGET = libnegentropy.so
endif
.PHONY: all clean install-deps precompiled-header shared-lib