Add libraries in compile script
This commit is contained in:
parent
29890a6135
commit
aae4909d30
5
compile
5
compile
@ -9,6 +9,9 @@ INCLUDES="\
|
|||||||
-Iintern/wizapp/dstr/include \
|
-Iintern/wizapp/dstr/include \
|
||||||
$(find intern/wizapp/mem/include -type d | xargs -I{} echo -n "-I{} ") \
|
$(find intern/wizapp/mem/include -type d | xargs -I{} echo -n "-I{} ") \
|
||||||
"
|
"
|
||||||
|
LIBS="\
|
||||||
|
-lm \
|
||||||
|
"
|
||||||
SRC="\
|
SRC="\
|
||||||
./src/*.c \
|
./src/*.c \
|
||||||
intern/wizapp/cpath/src/*.c \
|
intern/wizapp/cpath/src/*.c \
|
||||||
@ -17,4 +20,4 @@ SRC="\
|
|||||||
"
|
"
|
||||||
OUT=tiffread
|
OUT=tiffread
|
||||||
|
|
||||||
( set -x ; $CC $CFLAGS $INCLUDES $SRC -o $OUT )
|
( set -x ; $CC $CFLAGS $INCLUDES $LIBS $SRC -o $OUT )
|
||||||
|
Loading…
Reference in New Issue
Block a user