Re-added changes to allow cygwin and beos cross-compilation.

svn-id: r3468
This commit is contained in:
Claudio Matsuoka 2001-11-06 22:59:59 +00:00
parent bddfc49eea
commit fffb53aa53
2 changed files with 19 additions and 1 deletions

View File

@ -1,9 +1,17 @@
# $Id$
#
# $Log$
# Revision 1.9 2001/11/06 22:59:59 cmatsuoka
# Re-added changes to allow cygwin and beos cross-compilation.
#
CC = gcc
CFLAGS = -g -Wno-multichar
DEFINES = -DUNIX
LDFLAGS := `sdl-config --libs`
LDFLAGS :=
INCLUDES:= `sdl-config --cflags`
CPPFLAGS= $(DEFINES) $(INCLUDES)
LIBS = -lSDL
ZIPFILE := scummvm-`date '+%Y-%m-%d'`.zip
INCS = scumm.h scummsys.h stdafx.h

View File

@ -1,3 +1,11 @@
/*
* $Id$
*
* $Log$
* Revision 1.6 2001/11/06 22:59:59 cmatsuoka
* Re-added changes to allow cygwin and beos cross-compilation.
*
*/
#if defined(WIN32)
#if _MSC_VER > 1000
@ -48,7 +56,9 @@
#endif
#include <sys/types.h>
#include <sys/uio.h>
#if !defined (__BEOS__)
#include <unistd.h>
#endif
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>