diff --git a/compile b/compile index dc44cd8..31a4a64 100755 --- a/compile +++ b/compile @@ -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 )