diff --git a/.gitignore b/.gitignore index 768db9e..bc5da0b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/resources +/resources/* /.build-static/ /.ccache/ /nt diff --git a/build.sh b/build.sh index fa4b9bc..b057937 100755 --- a/build.sh +++ b/build.sh @@ -151,13 +151,13 @@ docker run --rm \ mkdir -p .build-static/obj CFLAGS_BASE="-std=c99 -O2 -Wall -Wextra -D_GNU_SOURCE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0" - INCLUDES="-Iinclude -Iresources/nostr_core_lib -Iresources/nostr_core_lib/nostr_core -Iresources/nostr_core_lib/nostr_websocket -Iresources/nostr_core_lib/cjson -Iresources/tui_ncurses" + INCLUDES="-Iinclude -Iresources/nostr_core_lib -Iresources/nostr_core_lib/nostr_core -Iresources/nostr_core_lib/nostr_websocket -Iresources/nostr_core_lib/cjson -Iresources/aesthetics/lib/tui_ncurses" CFLAGS="$CFLAGS_BASE $INCLUDES" mapfile -t SOURCES < <( { find src -name "*.c" -print - echo resources/tui_ncurses/tui_ncurses.c + echo resources/aesthetics/lib/tui_ncurses/tui_ncurses.c find resources/nostr_core_lib/nostr_core -name "*.c" -print find resources/nostr_core_lib/nostr_core/crypto -name "*.c" -print echo resources/nostr_core_lib/nostr_websocket/nostr_websocket_openssl.c