Mercurial > repos > blastem
annotate Makefile @ 26:a7c2b92d8056
Fix management of context->sprite_draws so the sprite layer only draws when it should
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 08 Dec 2012 16:46:47 -0800 |
parents | f664eeb55cb4 |
children | 3b79cbcf6846 |
rev | line source |
---|---|
20
f664eeb55cb4
Mostly broken VDP core and savestate viewer
Mike Pavone <pavone@retrodev.com>
parents:
18
diff
changeset
|
1 LIBS=sdl |
18
3e7bfde7606e
M68K to x86 translation works for a limited subset of instructions and addressing modes
Mike Pavone <pavone@retrodev.com>
parents:
16
diff
changeset
|
2 |
20
f664eeb55cb4
Mostly broken VDP core and savestate viewer
Mike Pavone <pavone@retrodev.com>
parents:
18
diff
changeset
|
3 all : dis trans stateview |
16 | 4 |
5 dis : dis.o 68kinst.o | |
6 $(CC) -o dis dis.o 68kinst.o | |
7 | |
18
3e7bfde7606e
M68K to x86 translation works for a limited subset of instructions and addressing modes
Mike Pavone <pavone@retrodev.com>
parents:
16
diff
changeset
|
8 trans : trans.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o |
3e7bfde7606e
M68K to x86 translation works for a limited subset of instructions and addressing modes
Mike Pavone <pavone@retrodev.com>
parents:
16
diff
changeset
|
9 $(CC) -o trans trans.o 68kinst.o gen_x86.o m68k_to_x86.o runtime.o mem.o |
3e7bfde7606e
M68K to x86 translation works for a limited subset of instructions and addressing modes
Mike Pavone <pavone@retrodev.com>
parents:
16
diff
changeset
|
10 |
20
f664eeb55cb4
Mostly broken VDP core and savestate viewer
Mike Pavone <pavone@retrodev.com>
parents:
18
diff
changeset
|
11 stateview : stateview.o vdp.o render_sdl.o |
f664eeb55cb4
Mostly broken VDP core and savestate viewer
Mike Pavone <pavone@retrodev.com>
parents:
18
diff
changeset
|
12 $(CC) -o stateview stateview.o vdp.o render_sdl.o `pkg-config --libs $(LIBS)` |
f664eeb55cb4
Mostly broken VDP core and savestate viewer
Mike Pavone <pavone@retrodev.com>
parents:
18
diff
changeset
|
13 |
16 | 14 test_x86 : test_x86.o gen_x86.o |
15 $(CC) -o test_x86 test_x86.o gen_x86.o | |
16 | |
17 gen_fib : gen_fib.o gen_x86.o mem.o | |
18 $(CC) -o gen_fib gen_fib.o gen_x86.o mem.o | |
19 | |
20 %.o : %.S | |
21 $(CC) -c -o $@ $< | |
22 | |
23 %.o : %.c | |
20
f664eeb55cb4
Mostly broken VDP core and savestate viewer
Mike Pavone <pavone@retrodev.com>
parents:
18
diff
changeset
|
24 $(CC) -ggdb -std=gnu99 `pkg-config --cflags-only-I $(LIBS)` -c -o $@ $< |
18
3e7bfde7606e
M68K to x86 translation works for a limited subset of instructions and addressing modes
Mike Pavone <pavone@retrodev.com>
parents:
16
diff
changeset
|
25 |
3e7bfde7606e
M68K to x86 translation works for a limited subset of instructions and addressing modes
Mike Pavone <pavone@retrodev.com>
parents:
16
diff
changeset
|
26 %.bin : %.s68 |
3e7bfde7606e
M68K to x86 translation works for a limited subset of instructions and addressing modes
Mike Pavone <pavone@retrodev.com>
parents:
16
diff
changeset
|
27 vasmm68k_mot -Fbin -m68000 -spaces -o $@ $< |
16 | 28 |
29 clean : | |
20
f664eeb55cb4
Mostly broken VDP core and savestate viewer
Mike Pavone <pavone@retrodev.com>
parents:
18
diff
changeset
|
30 rm -rf dis trans stateview test_x86 gen_fib *.o |