Mercurial > repos > blastem
view Makefile @ 217:acd29e2664c6
Added testcases file. Some fixes to test generator for dealing with indexed mode with base and index reg the same. Added support for blastem headless mode in test runner.
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 20 Apr 2013 00:29:14 -0700 |
parents | 3457dc6fd558 |
children | d60837a7d18a |
line wrap: on
line source
LIBS=sdl all : dis trans stateview blastem blastem : blastem.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o vdp.o render_sdl.o $(CC) -o blastem blastem.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o vdp.o render_sdl.o `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 : 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o ar rcs libemu68k.a 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o trans : trans.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o $(CC) -o trans trans.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o stateview : stateview.o vdp.o render_sdl.o $(CC) -o stateview stateview.o vdp.o render_sdl.o `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 %.o : %.S $(CC) -c -o $@ $< %.o : %.c $(CC) -ggdb -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -c -Wreturn-type -Werror=return-type -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