From 02f081bf40316b55bfda940cfc8dc05f1262f0c2 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sat, 20 Apr 2024 16:59:53 +0100 Subject: [PATCH] Add wizapp stdlib as submodule --- .gitmodules | 3 +++ compile | 11 ++++++++++- intern/wizapp | 1 + 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 intern/wizapp 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