Mercurial > repos > blastem
view Makefile @ 420:9fb111b5641f
Fix access to int_enable_cycle in EI
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 24 Jun 2013 21:32:25 -0700 |
parents | d1bf9734ce94 |
children | add9e2f5c0e3 |
line wrap: on
line source
LIBS=sdl ifdef DEBUG CFLAGS=-ggdb -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -Wreturn-type -Werror=return-type else CFLAGS=-O2 -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -Wreturn-type -Werror=return-type endif TRANSOBJS=gen_x86.o x86_backend.o mem.o M68KOBJS=68kinst.o m68k_to_x86.o runtime.o Z80OBJS=z80inst.o z80_to_x86.o zruntime.o AUDIOOBJS=ym2612.o psg.o wave.o all : dis trans stateview blastem blastem : blastem.o vdp.o render_sdl.o io.o $(M68KOBJS) $(Z80OBJS) $(TRANSOBJS) $(AUDIOOBJS) $(CC) -ggdb -o blastem blastem.o vdp.o render_sdl.o io.o $(M68KOBJS) $(Z80OBJS) $(TRANSOBJS) $(AUDIOOBJS) -lm `pkg-config --libs $(LIBS)` dis : dis.o 68kinst.o $(CC) -o dis dis.o 68kinst.o zdis : zdis.o z80inst.o $(CC) -o zdis zdis.o z80inst.o libemu68k.a : $(M68KOBJS) $(TRANSOBJS) ar rcs libemu68k.a $(M68KOBJS) $(TRANSOBJS) trans : trans.o $(M68KOBJS) $(TRANSOBJS) $(CC) -o trans trans.o $(M68KOBJS) $(TRANSOBJS) transz80 : transz80.o $(Z80OBJS) $(TRANSOBJS) $(CC) -o transz80 $(Z80OBJS) $(TRANSOBJS) ztestrun : ztestrun.o $(Z80OBJS) $(TRANSOBJS) $(CC) -o ztestrun $(Z80OBJS) $(TRANSOBJS) ztestgen : ztestgen.o z80inst.o $(CC) -o ztestgen ztestgen.o z80inst.o stateview : stateview.o vdp.o render_sdl.o $(CC) -o stateview stateview.o vdp.o render_sdl.o `pkg-config --libs $(LIBS)` vgmplay : vgmplay.o render_sdl.o $(AUDIOOBJS) $(CC) -o vgmplay vgmplay.o render_sdl.o $(AUDIOOBJS) `pkg-config --libs $(LIBS)` test_x86 : test_x86.o gen_x86.o $(CC) -o test_x86 test_x86.o gen_x86.o gen_fib : gen_fib.o gen_x86.o mem.o $(CC) -o gen_fib gen_fib.o gen_x86.o mem.o offsets : offsets.c z80_to_x86.h m68k_to_x86.h $(CC) -o offsets offsets.c %.o : %.S $(CC) -c -o $@ $< %.o : %.c $(CC) $(CFLAGS) -c -o $@ $< %.bin : %.s68 vasmm68k_mot -Fbin -m68000 -no-opt -spaces -o $@ $< %.bin : %.sz8 vasmz80_mot -Fbin -spaces -o $@ $< clean : rm -rf dis trans stateview test_x86 gen_fib *.o