Update compile script

This commit is contained in:
Abdelrahman Said 2024-04-29 23:26:37 +01:00
parent 45276ffcc1
commit a00e737652

View File

@ -4,10 +4,7 @@ CC=clang
CFLAGS="-g -Wall -Werror -pedantic -fsanitize=address -fsanitize=undefined" CFLAGS="-g -Wall -Werror -pedantic -fsanitize=address -fsanitize=undefined"
INCLUDES="\ INCLUDES="\
-I$(find ./src -type d | xargs -I{} echo -n "-I{} ") \ -I$(find ./src -type d | xargs -I{} echo -n "-I{} ") \
-Iintern/wizapp/aliases \ $(find intern/wizapp/src -type d | xargs -I{} echo -n "-I{} ") \
-Iintern/wizapp/cpath/include \
-Iintern/wizapp/dstr/include \
$(find intern/wizapp/mem/include -type d | xargs -I{} echo -n "-I{} ") \
$(pkg-config --cflags sdl2) \ $(pkg-config --cflags sdl2) \
" "
LIBS="\ LIBS="\
@ -16,9 +13,7 @@ LIBS="\
" "
SRC="\ SRC="\
$(find ./src -name *.c | xargs -I{} echo -n "{} ") \ $(find ./src -name *.c | xargs -I{} echo -n "{} ") \
intern/wizapp/cpath/src/*.c \ $(find intern/wizapp/src -type f -name *.x | xargs -I{} echo -n "{} ") \
intern/wizapp/dstr/src/*.c \
intern/wizapp/mem/src/*/*.c \
" "
OUT=tiffread OUT=tiffread