Mercurial > repos > blastem
diff Makefile @ 18:3e7bfde7606e
M68K to x86 translation works for a limited subset of instructions and addressing modes
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 04 Dec 2012 19:13:12 -0800 |
parents | 54fba9ef781b |
children | f664eeb55cb4 |
line wrap: on
line diff
--- a/Makefile Tue Nov 27 22:54:38 2012 -0800 +++ b/Makefile Tue Dec 04 19:13:12 2012 -0800 @@ -1,7 +1,12 @@ + +all : dis trans 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 + test_x86 : test_x86.o gen_x86.o $(CC) -o test_x86 test_x86.o gen_x86.o @@ -12,7 +17,10 @@ $(CC) -c -o $@ $< %.o : %.c - $(CC) -ggdb -c -o $@ $< + $(CC) -ggdb -std=gnu99 -c -o $@ $< + +%.bin : %.s68 + vasmm68k_mot -Fbin -m68000 -spaces -o $@ $< clean : - rm -rf dis test_x86 gen_fib *.o + rm -rf dis trans test_x86 gen_fib *.o