Files
eepp/projects/macos/make_no_fw.sh
2024-02-28 20:27:11 -03:00

16 lines
383 B
Bash
Executable File

#!/bin/sh
cd $(dirname "$0")
premake4 --file=../../premake4.lua --disable-static-build 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