aboutsummaryrefslogtreecommitdiff
path: root/dc/Makefile
diff options
context:
space:
mode:
authorMarcus Comstedt2002-04-18 23:21:40 +0000
committerMarcus Comstedt2002-04-18 23:21:40 +0000
commitaa8f15a828e925cc1e613d58367d452140eab2fb (patch)
tree0cbebe1b5ed87badce60a0531e41e805ba5eb3d9 /dc/Makefile
parent8a7ca8133c0d9a73609ef29b8f5caefc0f19b707 (diff)
downloadscummvm-rg350-aa8f15a828e925cc1e613d58367d452140eab2fb.tar.gz
scummvm-rg350-aa8f15a828e925cc1e613d58367d452140eab2fb.tar.bz2
scummvm-rg350-aa8f15a828e925cc1e613d58367d452140eab2fb.zip
Megapatch: Updated to new OSystem interface and added CD audio.
svn-id: r3998
Diffstat (limited to 'dc/Makefile')
-rw-r--r--dc/Makefile22
1 files changed, 17 insertions, 5 deletions
diff --git a/dc/Makefile b/dc/Makefile
index 587a4f366a..59e3b2281c 100644
--- a/dc/Makefile
+++ b/dc/Makefile
@@ -1,12 +1,12 @@
# $Header$
-ronindir = /usr/local/ronin
+ronindir = /home/marcus/hack/dreamcast/libronin
VPATH = ..
CC = sh-elf-g++ -ml -m4-single-only
CFLAGS = -O1 -Wno-multichar
-DEFINES = -D__DC__ -DNONSTANDARD_PORT -DUSE_ADLIB -DNONSTANDARD_SAVE
+DEFINES = -D__DC__ -DNONSTANDARD_PORT -DNONSTANDARD_SAVE
LDFLAGS := -Wl,-Ttext,0x8c010000 -nostartfiles ronin/crt0.o
INCLUDES:= -I./ -I../ -I../sound
CPPFLAGS= $(DEFINES) $(INCLUDES)
@@ -17,8 +17,11 @@ INCS = scumm.h scummsys.h stdafx.h portdefs.h dc.h
OBJS = actor.o boxes.o costume.o gfx.o object.o resource.o \
saveload.o script.o scummvm.o sound.o string.o \
sys.o verbs.o script_v1.o script_v2.o debug.o gui.o \
- sound/imuse.o sound/fmopl.o sound/adlib.o insane.o debugrl.o \
- akos.o vars.o dcmain.o display.o audio.o input.o selector.o icon.o \
+ sound/imuse.o sound/fmopl.o sound/mixer.o debugrl.o \
+ akos.o vars.o insane.o gameDetector.o init.o mp3_cd.o \
+ v3/resource_v3.o v4/resource_v4.o main.o \
+ simon/midi.o simon/simon.o simon/simonsys.o sound/mididrv.o \
+ dcmain.o display.o audio.o input.o selector.o icon.o \
label.o vmsave.o
.cpp.o:
@@ -29,11 +32,20 @@ all: scummvm
scummvm: $(OBJS) ronin
$(CC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS)
-$(OBJS): Makefile sound/.create ronin
+$(OBJS): Makefile sound/.create simon/.create v3/.create v4/.create ronin
sound/.create:
mkdir sound && touch $@
+simon/.create:
+ mkdir simon && touch $@
+
+v3/.create:
+ mkdir v3 && touch $@
+
+v4/.create:
+ mkdir v4 && touch $@
+
ronin:
ln -s $(ronindir) $@