aboutsummaryrefslogtreecommitdiff
path: root/backends/dc/Makefile
diff options
context:
space:
mode:
authorMarcus Comstedt2002-12-04 22:15:34 +0000
committerMarcus Comstedt2002-12-04 22:15:34 +0000
commit45534e7698dac0d42ee95209902bec6ad2dc2c06 (patch)
treece52608fca71b2fd81f430fd766ec5db09f55346 /backends/dc/Makefile
parent8dd3d2ec290d1bbcce5136026ba22316e0432342 (diff)
downloadscummvm-rg350-45534e7698dac0d42ee95209902bec6ad2dc2c06.tar.gz
scummvm-rg350-45534e7698dac0d42ee95209902bec6ad2dc2c06.tar.bz2
scummvm-rg350-45534e7698dac0d42ee95209902bec6ad2dc2c06.zip
Should now compile again.
svn-id: r5838
Diffstat (limited to 'backends/dc/Makefile')
-rw-r--r--backends/dc/Makefile12
1 files changed, 9 insertions, 3 deletions
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'`/../../$@ $@