Files
eepp/projects/macos/make.sh
Martín Lucas Golini 86111b4e4c More macOS improvements.
2023-07-19 23:45:46 -04:00

16 lines
377 B
Bash
Executable File

#!/bin/sh
cd $(dirname "$0")
premake4 --file=../../premake4.lua --use-frameworks gmake
cd ../../make/macosx/
sed -e "s/-Wl,-x//g" -i .make
make -j$(sysctl -n hw.ncpu) $@
cd ../../bin/
ln -sf ../libs/macosx/libeepp.dylib .
ln -sf ../libs/macosx/libeepp-debug.dylib .
if [ -f ../libs/macosx/libeepp-maps-debug.dylib ]; then
ln -sf ../libs/macosx/libeepp-maps-debug.dylib .
fi