* improved the compatibility with PDCurses a little bit
CC= gcc
CFLAGS= -g -Wall -O2 #-m64 #-arch ppc
-DFLAGS= -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=1
+DFLAGS= -D_FILE_OFFSET_BITS=64 -D_USE_KNETFILE -D_CURSES_LIB=2
LOBJS= bgzf.o kstring.o bam_aux.o bam.o bam_import.o sam.o bam_index.o \
bam_pileup.o bam_lpileup.o bam_md.o glf.o razf.o faidx.o knetfile.o \
bam_sort.o
INCLUDES=
SUBDIRS= . misc
LIBPATH=
-LIBCURSES= -lcurses # -lXCurses
+LIBCURSES= -lXCurses # -lXCurses
.SUFFIXES:.c .o
clear();
noecho();
cbreak();
-#ifdef NCURSES_VERSION
+ tv->mrow = 24; tv->mcol = 80;
getmaxyx(stdscr, tv->mrow, tv->mcol);
-#else
- tv->mrow = 80; tv->mcol = 40;
-#endif
tv->wgoto = newwin(3, TV_MAX_GOTO + 10, 10, 5);
tv->whelp = newwin(27, 40, 5, 5);
tv->color_for = TV_COLOR_MAPQ;
#include "bam.h"
#ifndef PACKAGE_VERSION
-#define PACKAGE_VERSION "0.1.5-8 (r404)"
+#define PACKAGE_VERSION "0.1.5-9 (r405)"
#endif
int bam_taf2baf(int argc, char *argv[]);