mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-02 15:38:59 +00:00
Use Makefile.common like the rest.
svn-id: r4179
This commit is contained in:
parent
60cd83e788
commit
69b6667945
25
dc/Makefile
25
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
|
||||
include ../Makefile.common
|
||||
|
||||
all: scummvm
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user