Added support for building on a Windows system using MinGW/MSYS.

After building and installing all the dependencies I used these commands,
in MSYS, to build, install and run:

    export set CPATH=/usr/local/include
    export set LIBRARY_PATH=/usr/local/bin:/usr/local/lib
    make win32
    make install-win32
    tuxpaint
This commit is contained in:
John Popplewell 2005-02-26 02:26:40 +00:00
parent e1ce8e1ddb
commit 778bd2f897
4 changed files with 264 additions and 252 deletions

View file

@ -1,22 +1,22 @@
/* win32_print.h */
/* printing support for Tux Paint */
/* John Popplewell <john@johnnypops.demon.co.uk> */
/* Sept. 30, 2002 - Oct. 1, 2002 */
#ifndef __WIN32_PRINT_H__
#define __WIN32_PRINT_H__
#ifndef _SDL_H
#include "SDL.h"
#endif
/* if printcfg is NULL, uses the default printer */
extern const char *SurfacePrint( SDL_Surface *surf,
const char *printcfg,
int showdialog );
extern int IsPrinterAvailable( void );
#endif
/* win32_print.h */
/* printing support for Tux Paint */
/* John Popplewell <john@johnnypops.demon.co.uk> */
/* Sept. 30, 2002 - Oct. 1, 2002 */
#ifndef __WIN32_PRINT_H__
#define __WIN32_PRINT_H__
#ifndef _SDL_H
#include "SDL.h"
#endif
/* if printcfg is NULL, uses the default printer */
extern const char *SurfacePrint( SDL_Surface *surf,
const char *printcfg,
int showdialog );
extern int IsPrinterAvailable( void );
#endif