diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | README.md | 5 | ||||
| -rwxr-xr-x | build.sh | 4 | ||||
| -rwxr-xr-x | get-libs.sh | 2 | ||||
| -rwxr-xr-x | get-reqs.sh | 2 | ||||
| m--------- | libs/tinyosc | 0 |
7 files changed, 9 insertions, 8 deletions
@@ -1,3 +1,2 @@ bin/** -tinyosc/ src/config.c diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..61af03f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "libs/tinyosc"] + path = libs/tinyosc + url = https://github.com/mhroth/tinyosc.git @@ -13,7 +13,10 @@ This is made for me so its complicated to use. # Installation / Setup -- run ``getreqs.sh`` or download tinyosc and put it in this directory. +- run + - ``git clone --recursive repo`` or. + - ``git submodule init`` then ``git submodule update`` or + - download tinyosc and put it in libs. - run ``build.sh`` once or ``cp src/config.def.c src/config.c``. - edit ``src/config.c`` to your liking. - run ``build.sh``. @@ -1,9 +1,9 @@ #!/bin/sh DEBUG="" -LIB="-I tinyosc" +LIB="-I libs/tinyosc" -[ ! -d "bin" ] && mkdir bin +mkdir -p bin while getopts "d" opt; do case "$opt" in diff --git a/get-libs.sh b/get-libs.sh deleted file mode 100755 index b7734e6..0000000 --- a/get-libs.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -git clone --depth 1 --revision 7acc37ad4ea555c1ab8b89c4e94eac84e6af8d3a https://github.com/mhroth/tinyosc.git
\ No newline at end of file diff --git a/get-reqs.sh b/get-reqs.sh deleted file mode 100755 index b7734e6..0000000 --- a/get-reqs.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -git clone --depth 1 --revision 7acc37ad4ea555c1ab8b89c4e94eac84e6af8d3a https://github.com/mhroth/tinyosc.git
\ No newline at end of file diff --git a/libs/tinyosc b/libs/tinyosc new file mode 160000 +Subproject 7acc37ad4ea555c1ab8b89c4e94eac84e6af8d3 |
