aboutsummaryrefslogtreecommitdiff
path: root/dc/Makefile
diff options
context:
space:
mode:
authorMarcus Comstedt2002-05-03 17:49:03 +0000
committerMarcus Comstedt2002-05-03 17:49:03 +0000
commit69b6667945c6ccc94e586e40e11297988214d720 (patch)
tree5393074906688febff453bb8387f9975c88add05 /dc/Makefile
parent60cd83e7883a59c3a44ed402e7508ee83b656c57 (diff)
downloadscummvm-rg350-69b6667945c6ccc94e586e40e11297988214d720.tar.gz
scummvm-rg350-69b6667945c6ccc94e586e40e11297988214d720.tar.bz2
scummvm-rg350-69b6667945c6ccc94e586e40e11297988214d720.zip
Use Makefile.common like the rest.
svn-id: r4179
Diffstat (limited to 'dc/Makefile')
-rw-r--r--dc/Makefile25
1 files changed, 4 insertions, 21 deletions
diff --git a/dc/Makefile b/dc/Makefile
index 9034435160..18ba20d6fc 100644
--- a/dc/Makefile
+++ b/dc/Makefile
@@ -11,26 +11,14 @@ LDFLAGS := -Wl,-Ttext,0x8c010000 -nostartfiles ronin/crt0.o
INCLUDES:= -I./ -I../ -I../sound
CPPFLAGS= $(DEFINES) $(INCLUDES)
LIBS = ronin/libronin.a ronin/libz.a -lm
+EXEEXT =
-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/mixer.o debugrl.o \
- akos.o vars.o insane.o gameDetector.o init.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 \
+OBJS = dcmain.o display.o audio.o input.o selector.o icon.o \
label.o vmsave.o
-.cpp.o:
- $(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
-
-all: scummvm
+include ../Makefile.common
-scummvm: $(OBJS) ronin
- $(CC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS)
+INCS += portdefs.h dc.h
$(OBJS): Makefile sound/.create simon/.create v3/.create v4/.create ronin
@@ -49,8 +37,3 @@ v4/.create:
ronin:
ln -s $(ronindir) $@
-clean:
- rm -f $(OBJS) scummvm
-
-check:
-$(OBJS): $(INCS)