#
# Try haxelib install hxcpp when you get haxelib setup message
# (haxelib path search..)
rm -rf obj
rm -rf ../ndll
mkdir ../ndll
mkdir ../ndll/iPhone
export NEKOLPATH=/Users/admin/Downloads/Stencyl-full/plaf/haxe/lib/lime/lime/templates/neko/ndll/mac64
export NEKOLPATH=/Users/admin/Downloads/Stencyl-full/plaf/neko-mac
export NEKOPATH=/Users/admin/Downloads/Stencyl-full/plaf/haxe/lib/lime/lime/templates/neko/bin
export NEKOPATH=/Users/admin/Downloads/Stencyl-full/plaf/neko-mac
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$NEKOLPATH
export DYLD_LIBRARY_PATH=$NEKOLPATH
export PATH=$PATH:$NEKOPATH:/Users/admin/Downloads//Stencyl-full/plaf/haxe
haxelib run hxcpp Build.xml -Diphoneos
haxelib run hxcpp Build.xml -Diphoneos -DHXCPP_ARMV7
haxelib run hxcpp Build.xml -Diphoneos -DHXCPP_ARM64
haxelib run hxcpp Build.xml -Diphonesim
rm -rf /Users/admin/stencylworks/games-generated/Capture/Export/ios/build/Capture.build/Release-iphoneos/Capture.build/Objects-normal/
