2013-02-19 19:59:35 +00:00
|
|
|
#!/bin/sh
|
|
|
|
echo "Configure BTstack for use with iOS using the theos build system"
|
|
|
|
|
2013-09-11 18:15:19 +00:00
|
|
|
# get version from svn
|
|
|
|
cd src; ./get_version.sh; cd ..
|
|
|
|
|
2013-02-19 19:59:35 +00:00
|
|
|
# check if $THEOS is set
|
|
|
|
|
|
|
|
# remove autoconf created files
|
2014-01-19 16:45:57 +00:00
|
|
|
rm -f btstack-config.h config.h Makefile src/Makefile example/Makefile
|
2013-02-19 19:59:35 +00:00
|
|
|
|
|
|
|
# use theos Makefiles
|
2014-01-19 16:45:57 +00:00
|
|
|
ln -s btstack-config-iphone.h btstack-config.h
|
2013-02-19 19:59:35 +00:00
|
|
|
ln -s Makefile.iphone Makefile
|
|
|
|
ln -s Makefile.iphone src/Makefile
|
|
|
|
ln -s Makefile.iphone example/Makefile
|