1
0
forked from oomer/bellatui

use platform vars for zmq .so and dylib copies and sodium too, not sure why libsodium not needed on macos

This commit is contained in:
Harvey Fong 2025-03-01 14:16:30 -07:00
parent 12949f409a
commit 44727bd022

View File

@ -62,12 +62,15 @@ ifeq ($(UNAME), Darwin)
-weak_library $(LIBDIR)/libvulkan.dylib
else
SDKBASE = .
SDKBASE = ../bella_engine_sdk
SDKFNAME = lib$(SDKNAME).so
INCLUDEDIRS = -I$(SDKBASE)/src
INCLUDEDIRS2 = -I../cppzmq
INCLUDEDIRS3 = -I../libzmq/include
LIBDIR = $(SDKBASE)/lib
LIBDIRS = -L$(LIBDIR)
LIBDIRS2 = -L../libzmq/build/lib
OBJDIR = obj/$(UNAME)
BINDIR = bin/$(UNAME)
OUTPUT = $(BINDIR)/$(OUTNAME)
@ -82,6 +85,9 @@ else
-D_FILE_OFFSET_BITS=64\
-O3\
$(INCLUDEDIRS)
$(INCLUDEDIRS2)\
$(INCLUDEDIRS3)\
$(LIBDIRS2)
CFLAGS = $(CCFLAGS)\
-std=c11