Use of SDSSMATH

Here are some things you will need to do in your application:
  1. To use a straight C binding, include the file "shMath_c.h".
  2. To use a DERVISH-based C binding, include the file "shMath.h".
  3. Include $(SDSSMATH_DIR)/lib/libsdssmath.a in LDFLAGS in your Makefile;
  4. If you are using a LAPACK binding, then include $(LAPACK_DIR)/lib/liblapack.a $(LAPACK_DIR)/lib/libtmglib.a $(LAPACK_DIR)/lib/libblas.a in LDFLAGS in your Makefile;
  5. If you are using a CERNLIB binding, then include -L$(CERN_DIR)/lib -lpacklib -lkernlib in LDFLAGS in your Makefile;
You will need to have LAPACK and CERN setup to compile.