Add libraries in compile script

This commit is contained in:
Abdelrahman Said 2024-04-21 02:38:22 +01:00
parent 29890a6135
commit aae4909d30

View File

@ -9,6 +9,9 @@ INCLUDES="\
-Iintern/wizapp/dstr/include \
$(find intern/wizapp/mem/include -type d | xargs -I{} echo -n "-I{} ") \
"
LIBS="\
-lm \
"
SRC="\
./src/*.c \
intern/wizapp/cpath/src/*.c \
@ -17,4 +20,4 @@ SRC="\
"
OUT=tiffread
( set -x ; $CC $CFLAGS $INCLUDES $SRC -o $OUT )
( set -x ; $CC $CFLAGS $INCLUDES $LIBS $SRC -o $OUT )