build_testbed_lib.sh 434 B

12345678
  1. #!/bin/bash
  2. # Testbed Lib
  3. make -f Makefile.library.mak $ACTION TARGET=$TARGET ASSEMBLY=testbed.lib DO_VERSION=$DO_VERSION ADDL_INC_FLAGS="-I./kohi.engine/src -I./kohi.plugin.ui.standard/src -I./kohi.plugin.audio.openal/src" ADDL_LINK_FLAGS="-lkohi.engine -lkohi.plugin.ui.standard -lkohi.plugin.audio.openal"
  4. ERRORLEVEL=$?
  5. if [ $ERRORLEVEL -ne 0 ]
  6. then
  7. echo "Error:"$ERRORLEVEL | sed -e "s/Error/${txtred}Error${txtrst}/g" && exit
  8. fi