#!/bin/bash


export COPYFILE_DISABLE=true

if [[ -d universal-darwin ]]; then
	rm -R universal-darwin
fi

mkdir universal-darwin

cd RawCode
lipo xz-intel xz-arm -create -output ../universal-darwin/xz
lipo xzdec-intel xzdec-arm -create -output ../universal-darwin/xzdec
lipo lzmadec-intel lzmadec-arm -create -output ../universal-darwin/lzmadec
lipo lz4-intel lz4-arm -create -output ../universal-darwin/lz4
cd ..

