echo "building lib..." clang -fobjc-arc -framework Foundation -dynamiclib AppleScriptExecutor.m -o libAppleScriptExecutor.dylib # clang -c apple_script_executor.m -o apple_script_executor.o # ar rcs libapple_script_executor.a apple_script_executor.o # clang -c OsaScriptExecutor.m -o ./xlibz/osa_script_executor.o && ar rcs ./xlibz/libosa_script_executor.a ./xlibz/osa_script_executor.o echo "OKOK"