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"
INCLUDES="\
-I$(find ./src -type d | xargs -I{} echo -n "-I{} ") \
-Iintern/wizapp/aliases \
-Iintern/wizapp/cpath/include \
-Iintern/wizapp/dstr/include \
$(find intern/wizapp/mem/include -type d | xargs -I{} echo -n "-I{} ") \
$(find intern/wizapp/src -type d | xargs -I{} echo -n "-I{} ") \
$(pkg-config --cflags sdl2) \
"
LIBS="\
@ -16,9 +13,7 @@ LIBS="\
"
SRC="\
$(find ./src -name *.c | xargs -I{} echo -n "{} ") \
intern/wizapp/cpath/src/*.c \
intern/wizapp/dstr/src/*.c \
intern/wizapp/mem/src/*/*.c \
$(find intern/wizapp/src -type f -name *.x | xargs -I{} echo -n "{} ") \
"
OUT=tiffread