iw4x-client/deps/pdcurses/dos
2024-03-07 05:13:50 -05:00
..
Makefile Add dependencies locally 2024-03-07 05:13:50 -05:00
Makefile.bcc Add dependencies locally 2024-03-07 05:13:50 -05:00
Makefile.wcc Add dependencies locally 2024-03-07 05:13:50 -05:00
pdcclip.c Add dependencies locally 2024-03-07 05:13:50 -05:00
pdcdisp.c Add dependencies locally 2024-03-07 05:13:50 -05:00
pdcdos.h Add dependencies locally 2024-03-07 05:13:50 -05:00
pdcgetsc.c Add dependencies locally 2024-03-07 05:13:50 -05:00
pdckbd.c Add dependencies locally 2024-03-07 05:13:50 -05:00
pdcscrn.c Add dependencies locally 2024-03-07 05:13:50 -05:00
pdcsetsc.c Add dependencies locally 2024-03-07 05:13:50 -05:00
pdcutil.c Add dependencies locally 2024-03-07 05:13:50 -05:00
README.md Add dependencies locally 2024-03-07 05:13:50 -05:00

PDCurses for DOS

This directory contains PDCurses source code files specific to DOS.

Building

  • Choose the appropriate makefile for your compiler:

      Makefile     - DJGPP
      Makefile.bcc - Borland C++
      Makefile.wcc - Watcom
    
  • For 16-bit compilers, you can change the memory MODEL as a command- line option. (Large model is the default, and recommended.) With Watcom, specifying "MODEL=f" (flat) will automatically switch to a 32-bit build.

  • Optionally, you can build in a different directory than the platform directory by setting PDCURSES_SRCDIR to point to the directory where you unpacked PDCurses, and changing to your target directory:

      set PDCURSES_SRCDIR=c:\pdcurses
    
  • Build it:

      make -f makefile
    

    (For Watcom, use "wmake" instead of "make".) You'll get the library (pdcurses.lib or .a, depending on your compiler) and a lot of object files. Add the target "demos" to build the sample programs.

Acknowledgements

Watcom C port was provided by Pieter Kunst kunst@prl.philips.nl

DJGPP port was provided by David Nugent davidn@csource.oz.au