diff options
author | Marcus Comstedt | 2002-12-04 22:15:34 +0000 |
---|---|---|
committer | Marcus Comstedt | 2002-12-04 22:15:34 +0000 |
commit | 45534e7698dac0d42ee95209902bec6ad2dc2c06 (patch) | |
tree | ce52608fca71b2fd81f430fd766ec5db09f55346 /backends | |
parent | 8dd3d2ec290d1bbcce5136026ba22316e0432342 (diff) | |
download | scummvm-rg350-45534e7698dac0d42ee95209902bec6ad2dc2c06.tar.gz scummvm-rg350-45534e7698dac0d42ee95209902bec6ad2dc2c06.tar.bz2 scummvm-rg350-45534e7698dac0d42ee95209902bec6ad2dc2c06.zip |
Should now compile again.
svn-id: r5838
Diffstat (limited to 'backends')
-rw-r--r-- | backends/dc/.cvsignore | 3 | ||||
-rw-r--r-- | backends/dc/Makefile | 12 | ||||
-rw-r--r-- | backends/dc/dc-fs.cpp | 26 |
3 files changed, 37 insertions, 4 deletions
diff --git a/backends/dc/.cvsignore b/backends/dc/.cvsignore index e8fa8d7785..1ecff6be3b 100644 --- a/backends/dc/.cvsignore +++ b/backends/dc/.cvsignore @@ -4,4 +4,5 @@ scumm simon sound common -scummvm +backends +scummvm.elf diff --git a/backends/dc/Makefile b/backends/dc/Makefile index 946a1ee169..2dc9f8dd03 100644 --- a/backends/dc/Makefile +++ b/backends/dc/Makefile @@ -11,7 +11,7 @@ LDFLAGS := -Wl,-Ttext,0x8c010000 -nostartfiles ronin/crt0.o INCLUDES:= -I./ -I../.. -I../../common CPPFLAGS= $(DEFINES) $(INCLUDES) LIBS = ronin/libronin.a ronin/libz.a -lm -EXEEXT = +EXEEXT = .elf MKDIR = mkdir -p ECHO = /usr/ucb/echo -n CAT = cat @@ -19,16 +19,22 @@ RM = rm -f AR = sh-elf-ar cru RANLIB = sh-elf-ranlib -OBJS = dcmain.o time.o display.o audio.o input.o selector.o icon.o \ - label.o vmsave.o +OBJS := dcmain.o time.o display.o audio.o input.o selector.o icon.o \ + label.o vmsave.o dc-fs.o include ../../Makefile.common INCS += portdefs.h dc.h +LIBS := scumm/libscumm.a common/libcommon.a $(LIBS) $(OBJS): Makefile ronin ronin: ln -s $(ronindir) $@ +%/module.mk : + @mkdir -p $* + @test -h common.rules || ln -s ../../common.rules ./ + @test ! -f ../../$@ || \ + ln -s `echo $* | sed -e 's/[^/][^/]*/../g'`/../../$@ $@ diff --git a/backends/dc/dc-fs.cpp b/backends/dc/dc-fs.cpp new file mode 100644 index 0000000000..99ff500236 --- /dev/null +++ b/backends/dc/dc-fs.cpp @@ -0,0 +1,26 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2002 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Header$ + */ + +#include <backends/fs/fs.h> +#include <common/engine.h> + +FilesystemNode *FilesystemNode::getRoot() { + error ("No filesystem implemented for DC!"); +} |