[Scummvm-cvs-logs] CVS: tools Makefile.mingw,NONE,1.1 descumm5.cpp,1.1,1.2 descumm6.cpp,1.1,1.2
Travis Howell
kirben at users.sourceforge.net
Fri Apr 26 04:38:03 CEST 2002
Update of /cvsroot/scummvm/tools
In directory usw-pr-cvs1:/tmp/cvs-serv13305
Modified Files:
descumm5.cpp descumm6.cpp
Added Files:
Makefile.mingw
Log Message:
Comment out section making ctype.h unix only, since win32 requires it too.
Added makefile for mingw
--- NEW FILE: Makefile.mingw ---
# Where is scummvm will be installed
SCUMMVMPATH=C:/scummvm
SRC=.
CC = gcc
CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar
.cpp.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
descumm3.exe : descumm3.o
$(CC) $(LFLAGS) -o $@ $+ -mconsole
descumm5.exe : descumm5.o
$(CC) $(LFLAGS) -o $@ $+ -mconsole
descumm6.exe : descumm6.o
$(CC) $(LFLAGS) -o $@ $+ -mconsole
extract.exe : extract.o
$(CC) $(LFLAGS) -o $@ $+ -mconsole
rescumm.exe : rescumm.o
$(CC) $(LFLAGS) -o $@ $+ -mconsole
all: descumm3.exe descumm5.exe descumm6.exe extract.exe rescumm.exe
clean:
rm -f *.o *.exe
install: all
mkdir -p $(SCUMMVMPATH)
mkdir -p $(SCUMMVMPATH)/tools
strip descumm3.exe -o $(SCUMMVMPATH)/tools/descumm3.exe
strip descumm5.exe -o $(SCUMMVMPATH)/tools/descumm5.exe
strip descumm6.exe -o $(SCUMMVMPATH)/tools/descumm6.exe
strip extract.exe -o $(SCUMMVMPATH)/tools/extract.exe
strip rescumm.exe -o $(SCUMMVMPATH)/tools/rescumm.exe
dist: install
Index: descumm5.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm5.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** descumm5.cpp 15 Apr 2002 08:05:27 -0000 1.1
--- descumm5.cpp 26 Apr 2002 11:37:52 -0000 1.2
***************
*** 23,29 ****
#include <stdio.h>
! #ifdef UNIX
#include <ctype.h>
! #endif
#ifdef WIN32
--- 23,29 ----
#include <stdio.h>
! //#ifdef UNIX
#include <ctype.h>
! //#endif
#ifdef WIN32
Index: descumm6.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm6.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** descumm6.cpp 15 Apr 2002 08:05:27 -0000 1.1
--- descumm6.cpp 26 Apr 2002 11:37:52 -0000 1.2
***************
*** 23,29 ****
#include <stdio.h>
! #ifdef UNIX
#include <ctype.h>
! #endif
#ifdef WIN32
--- 23,29 ----
#include <stdio.h>
! //#ifdef UNIX
#include <ctype.h>
! //#endif
#ifdef WIN32
More information about the Scummvm-git-logs
mailing list