comparison Makefile @ 451:b7c3b2d22858

Added support for saving savestates. Added gst savestate format test harness
author Mike Pavone <pavone@retrodev.com>
date Fri, 26 Jul 2013 19:55:04 -0700
parents 7f84090ab1cd
children dc322bc77ea2
comparison
equal deleted inserted replaced
448:e85a107e6ec0 451:b7c3b2d22858
16 Z80OBJS=z80inst.o z80_to_x86.o zruntime.o 16 Z80OBJS=z80inst.o z80_to_x86.o zruntime.o
17 AUDIOOBJS=ym2612.o psg.o wave.o 17 AUDIOOBJS=ym2612.o psg.o wave.o
18 18
19 all : dis trans stateview blastem 19 all : dis trans stateview blastem
20 20
21 blastem : blastem.o vdp.o render_sdl.o io.o config.o tern.o $(M68KOBJS) $(Z80OBJS) $(TRANSOBJS) $(AUDIOOBJS) 21 blastem : blastem.o vdp.o render_sdl.o io.o config.o tern.o gst.o $(M68KOBJS) $(Z80OBJS) $(TRANSOBJS) $(AUDIOOBJS)
22 $(CC) -ggdb -o blastem blastem.o vdp.o render_sdl.o io.o config.o tern.o $(M68KOBJS) $(Z80OBJS) $(TRANSOBJS) $(AUDIOOBJS) $(LDFLAGS) 22 $(CC) -ggdb -o blastem blastem.o vdp.o render_sdl.o io.o config.o tern.o gst.o $(M68KOBJS) $(Z80OBJS) $(TRANSOBJS) $(AUDIOOBJS) $(LDFLAGS)
23 23
24 dis : dis.o 68kinst.o 24 dis : dis.o 68kinst.o
25 $(CC) -o dis dis.o 68kinst.o 25 $(CC) -o dis dis.o 68kinst.o
26 26
27 zdis : zdis.o z80inst.o 27 zdis : zdis.o z80inst.o
28 $(CC) -o zdis zdis.o z80inst.o 28 $(CC) -o zdis zdis.o z80inst.o
29 29
30 libemu68k.a : $(M68KOBJS) $(TRANSOBJS) 30 libemu68k.a : $(M68KOBJS) $(TRANSOBJS)
31 ar rcs libemu68k.a $(M68KOBJS) $(TRANSOBJS) 31 ar rcs libemu68k.a $(M68KOBJS) $(TRANSOBJS)
32 32
33 trans : trans.o $(M68KOBJS) $(TRANSOBJS) 33 trans : trans.o $(M68KOBJS) $(TRANSOBJS)
34 $(CC) -o trans trans.o $(M68KOBJS) $(TRANSOBJS) 34 $(CC) -o trans trans.o $(M68KOBJS) $(TRANSOBJS)
35 35
36 transz80 : transz80.o $(Z80OBJS) $(TRANSOBJS) 36 transz80 : transz80.o $(Z80OBJS) $(TRANSOBJS)
37 $(CC) -o transz80 $(Z80OBJS) $(TRANSOBJS) 37 $(CC) -o transz80 $(Z80OBJS) $(TRANSOBJS)
46 $(CC) -o stateview stateview.o vdp.o render_sdl.o `pkg-config --libs $(LIBS)` 46 $(CC) -o stateview stateview.o vdp.o render_sdl.o `pkg-config --libs $(LIBS)`
47 47
48 vgmplay : vgmplay.o render_sdl.o $(AUDIOOBJS) 48 vgmplay : vgmplay.o render_sdl.o $(AUDIOOBJS)
49 $(CC) -o vgmplay vgmplay.o render_sdl.o $(AUDIOOBJS) `pkg-config --libs $(LIBS)` 49 $(CC) -o vgmplay vgmplay.o render_sdl.o $(AUDIOOBJS) `pkg-config --libs $(LIBS)`
50 50
51 testgst : testgst.o gst.o
52 $(CC) -o testgst testgst.o gst.o
53
51 test_x86 : test_x86.o gen_x86.o 54 test_x86 : test_x86.o gen_x86.o
52 $(CC) -o test_x86 test_x86.o gen_x86.o 55 $(CC) -o test_x86 test_x86.o gen_x86.o
53 56
54 gen_fib : gen_fib.o gen_x86.o mem.o 57 gen_fib : gen_fib.o gen_x86.o mem.o
55 $(CC) -o gen_fib gen_fib.o gen_x86.o mem.o 58 $(CC) -o gen_fib gen_fib.o gen_x86.o mem.o
56 59
57 offsets : offsets.c z80_to_x86.h m68k_to_x86.h 60 offsets : offsets.c z80_to_x86.h m68k_to_x86.h
58 $(CC) -o offsets offsets.c 61 $(CC) -o offsets offsets.c
59 62
60 %.o : %.S 63 %.o : %.S
61 $(CC) -c -o $@ $< 64 $(CC) -c -o $@ $<
62 65
63 %.o : %.c 66 %.o : %.c
64 $(CC) $(CFLAGS) -c -o $@ $< 67 $(CC) $(CFLAGS) -c -o $@ $<