chore: in progress Makefile

This commit is contained in:
Prem Chaitanya Prathi 2024-02-16 17:35:02 +05:30
parent d4e6451d67
commit 27a7a64e09
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ install-deps:
brew install lmdb openssl
shared-lib: negentropy.o
g++ -o $(TARGET) negentropy.o -shared
g++ -shared -fPIC -o $(TARGET) negentropy.o negentropy_wrapper.o
negentropy-cpp:
g++ negentropy.h --std=c++20 -o negentropy.o $(INCS)
@ -22,4 +22,4 @@ c-wrapper:
g++ negentropy_wrapper.h --std=c++20 -o negentropy_wrapper.o $(INCS) -I./vendor/lmdbxx/include/
clean:
rm -f negentropy.o
rm -f negentropy.o negentropy_wrapper.o libnegentropy.so