diff options
author | Claudio Matsuoka | 2001-11-06 22:59:59 +0000 |
---|---|---|
committer | Claudio Matsuoka | 2001-11-06 22:59:59 +0000 |
commit | fffb53aa5349d1a9bb8f5e96c9d7dda706538e63 (patch) | |
tree | 0c6070de43074d8aff557dcc09e49d720e06c245 | |
parent | bddfc49eeacf84e3fda681a5f239c563b5fa8207 (diff) | |
download | scummvm-rg350-fffb53aa5349d1a9bb8f5e96c9d7dda706538e63.tar.gz scummvm-rg350-fffb53aa5349d1a9bb8f5e96c9d7dda706538e63.tar.bz2 scummvm-rg350-fffb53aa5349d1a9bb8f5e96c9d7dda706538e63.zip |
Re-added changes to allow cygwin and beos cross-compilation.
svn-id: r3468
-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | stdafx.h | 10 |
2 files changed, 19 insertions, 1 deletions
@@ -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 @@ -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> |