Files
eepp/projects/macos/make.sh
2022-12-03 21:07:40 -03:00

16 lines
364 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`nproc` $@
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