Mercurial > repos > blastem
view Makefile @ 56:a28b1dfe1af2
Fix CRAM and possibly VSRAM writes
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 18 Dec 2012 19:51:33 -0800 |
parents | 3b79cbcf6846 |
children | c3d034e076ee |
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 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 -o $@ $< %.bin : %.s68 vasmm68k_mot -Fbin -m68000 -spaces -o $@ $< clean : rm -rf dis trans stateview test_x86 gen_fib *.o