sed -i.bak 's^TABIX_LIB_DIR)$^TABIX_LIB_DIR) -L$(PREFIX)/lib^' src/Makefile
sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -L$(PREFIX)/include/^' src/Makefile

make BIN_DIR=$PREFIX/bin

sed -i.bak 's^TABIX_LIB_DIR)$^TABIX_LIB_DIR) -L$(PREFIX)/lib^' src/Makefile
sed -i.bak 's^TABIX_INCLUDE_DIR)$^TABIX_INCLUDE_DIR) -L$(PREFIX)/include^' src/Makefile
sed -i.bak 's@^CFLAGS =@CFLAGS = -I$(PREFIX)/include@' redist/tabixredist/tabix/Makefile

make BIN_DIR=$PREFIX/bin

Edit tabix Makefile to include zlib.h
Edit tabix Makefile to include zlib.h
