diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..8c70197 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "intern/wizapp"] + path = intern/wizapp + url = https://git.thewizardapprentice.com/abdelrahman/wizapp-stdlib.git diff --git a/compile b/compile index 574b109..dc44cd8 100755 --- a/compile +++ b/compile @@ -2,9 +2,18 @@ CC=clang CFLAGS="-g -Wall -Werror -pedantic -fsanitize=address -fsanitize=undefined" -INCLUDES="-Isrc" +INCLUDES="\ + -Isrc \ + -Iintern/wizapp/aliases \ + -Iintern/wizapp/cpath/include \ + -Iintern/wizapp/dstr/include \ + $(find intern/wizapp/mem/include -type d | xargs -I{} echo -n "-I{} ") \ +" SRC="\ ./src/*.c \ + intern/wizapp/cpath/src/*.c \ + intern/wizapp/dstr/src/*.c \ + intern/wizapp/mem/src/*/*.c \ " OUT=tiffread diff --git a/intern/wizapp b/intern/wizapp new file mode 160000 index 0000000..be64571 --- /dev/null +++ b/intern/wizapp @@ -0,0 +1 @@ +Subproject commit be64571b0ec136fa785f02acca555e2f03dbd02d