btstack/config-iphone.sh
matthias.ringwald@gmail.com 766bd9a815 also run src/get_version.sh
2013-09-11 18:15:19 +00:00

17 lines
409 B
Bash
Executable File

#!/bin/sh
echo "Configure BTstack for use with iOS using the theos build system"
# get version from svn
cd src; ./get_version.sh; cd ..
# check if $THEOS is set
# remove autoconf created files
rm -f config.h Makefile src/Makefile example/Makefile
# use theos Makefiles
ln -s config-iphone.h config.h
ln -s Makefile.iphone Makefile
ln -s Makefile.iphone src/Makefile
ln -s Makefile.iphone example/Makefile