# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-OSTYPE := $(shell uname -o)
CURSES = ncursesw
ifeq (Windows_NT, $(OS))
+OSTYPE := $(shell uname -o)
ifneq (Cygwin, $(OSTYPE))
CURSES := pdcurses
endif
mdp needs the ncursesw headers to compile.
So make sure you have them installed:
-- On Ubuntu/Debian you need `libncursesw5` and `libncursesw5-dev` to be installed.
+- on Ubuntu/Debian you need `libncursesw5` and `libncursesw5-dev`
+- on Cygwin you need `libncursesw10` and `libncurses-devel`
Now download and install mdp:
#define MDP_VER_MAJOR 0
#define MDP_VER_MINOR 91
-#define MDP_VER_REVISION 1
+#define MDP_VER_REVISION 2
#endif // !defined( MAIN_H )
CFLAGS := -O0 -Wall -g -I../include
endif
-OSTYPE := $(shell uname -o)
ifeq (Windows_NT, $(OS))
+OSTYPE := $(shell uname -o)
ifneq (Cygwin, $(OSTYPE))
CFLAGS += -DWIN32=1
endif
if(max_lines + bar_top + bar_bottom + 2 > LINES)
fprintf(stderr, "You may need to add additional horizontal rules ('***') to split your file in shorter slides.\n");
if(max_cols > COLS)
- fprintf(stderr, "Automatic line wrapping is not supported jet. You may need to shorten some lines by inserting line breaks.\n");
+ fprintf(stderr, "Automatic line wrapping is not supported yet. You may need to shorten some lines by inserting line breaks.\n");
return(1);
}