Mercurial > repos > blastem
comparison Makefile @ 563:c8fefa140c80
Moved some generic stuff from backend.h gen_arm.h and gen_arm.c into gen.h and gen.c. Added a couple fields to cpu_options so that gen_mem_fun can be made guest CPU generic
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 24 Feb 2014 09:55:24 -0800 |
parents | acec5464fa1e |
children | 9324f721efa6 |
comparison
equal
deleted
inserted
replaced
558:dc9f178085a0 | 563:c8fefa140c80 |
---|---|
22 CPU:=$(shell uname -m) | 22 CPU:=$(shell uname -m) |
23 endif | 23 endif |
24 | 24 |
25 | 25 |
26 | 26 |
27 TRANSOBJS=gen_x86.o backend.o mem.o | 27 TRANSOBJS=gen.o backend.o mem.o |
28 M68KOBJS=68kinst.o m68k_to_x86.o | 28 M68KOBJS=68kinst.o m68k_to_x86.o |
29 ifeq ($(CPU),x86_64) | 29 ifeq ($(CPU),x86_64) |
30 M68KOBJS+= runtime.o | 30 M68KOBJS+= runtime.o |
31 TRANSOBJS+= gen_x86.o | |
31 else | 32 else |
32 ifeq ($(CPU),i686) | 33 ifeq ($(CPU),i686) |
33 M68KOBJS+= runtime_32.o | 34 M68KOBJS+= runtime_32.o |
35 TRANSOBJS+= gen_x86.o | |
34 endif | 36 endif |
35 endif | 37 endif |
36 | 38 |
37 Z80OBJS=z80inst.o z80_to_x86.o zruntime.o | 39 Z80OBJS=z80inst.o z80_to_x86.o zruntime.o |
38 AUDIOOBJS=ym2612.o psg.o wave.o | 40 AUDIOOBJS=ym2612.o psg.o wave.o |
83 $(CC) -o vgmplay vgmplay.o render_sdl.o $(CONFIGOBJS) $(AUDIOOBJS) $(LDFLAGS) | 85 $(CC) -o vgmplay vgmplay.o render_sdl.o $(CONFIGOBJS) $(AUDIOOBJS) $(LDFLAGS) |
84 | 86 |
85 testgst : testgst.o gst.o | 87 testgst : testgst.o gst.o |
86 $(CC) -o testgst testgst.o gst.o | 88 $(CC) -o testgst testgst.o gst.o |
87 | 89 |
88 test_x86 : test_x86.o gen_x86.o | 90 test_x86 : test_x86.o gen_x86.o gen.o |
89 $(CC) -o test_x86 test_x86.o gen_x86.o | 91 $(CC) -o test_x86 test_x86.o gen_x86.o gen.o |
90 | 92 |
91 test_arm : test_arm.o gen_arm.o mem.o | 93 test_arm : test_arm.o gen_arm.o mem.o gen.o |
92 $(CC) -o test_arm test_arm.o gen_arm.o mem.o | 94 $(CC) -o test_arm test_arm.o gen_arm.o mem.o gen.o |
93 | 95 |
94 gen_fib : gen_fib.o gen_x86.o mem.o | 96 gen_fib : gen_fib.o gen_x86.o mem.o |
95 $(CC) -o gen_fib gen_fib.o gen_x86.o mem.o | 97 $(CC) -o gen_fib gen_fib.o gen_x86.o mem.o |
96 | 98 |
97 offsets : offsets.c z80_to_x86.h m68k_to_x86.h | 99 offsets : offsets.c z80_to_x86.h m68k_to_x86.h |