From 0fe3c72239c1bc454965bfe6877307667135bbac Mon Sep 17 00:00:00 2001 From: Mike Pavone Date: Sat, 8 Dec 2012 02:00:54 -0800 Subject: Mostly broken VDP core and savestate viewer --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4275750..2b5554e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ +LIBS=sdl -all : dis trans +all : dis trans stateview dis : dis.o 68kinst.o $(CC) -o dis dis.o 68kinst.o @@ -7,6 +8,9 @@ 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 @@ -17,10 +21,10 @@ gen_fib : gen_fib.o gen_x86.o mem.o $(CC) -c -o $@ $< %.o : %.c - $(CC) -ggdb -std=gnu99 -c -o $@ $< + $(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 test_x86 gen_fib *.o + rm -rf dis trans stateview test_x86 gen_fib *.o -- cgit v1.2.3