Mercurial > repos > blastem
comparison Makefile @ 727:59a98179d3ba
Eliminate runtime.S/runtime_32.S.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 23 May 2015 20:24:27 -0700 |
parents | 15d9359fd771 |
children | 539d12fa6a4d |
comparison
equal
deleted
inserted
replaced
726:7367b14ac01c | 727:59a98179d3ba |
---|---|
43 endif | 43 endif |
44 | 44 |
45 TRANSOBJS=gen.o backend.o mem.o | 45 TRANSOBJS=gen.o backend.o mem.o |
46 M68KOBJS=68kinst.o m68k_core.o | 46 M68KOBJS=68kinst.o m68k_core.o |
47 ifeq ($(CPU),x86_64) | 47 ifeq ($(CPU),x86_64) |
48 M68KOBJS+= runtime.o m68k_core_x86.o | 48 M68KOBJS+= m68k_core_x86.o |
49 TRANSOBJS+= gen_x86.o backend_x86.o | 49 TRANSOBJS+= gen_x86.o backend_x86.o |
50 else | 50 else |
51 ifeq ($(CPU),i686) | 51 ifeq ($(CPU),i686) |
52 M68KOBJS+= runtime_32.o m68k_core_x86.o | 52 M68KOBJS+= m68k_core_x86.o |
53 TRANSOBJS+= gen_x86.o backend_x86.o | 53 TRANSOBJS+= gen_x86.o backend_x86.o |
54 endif | 54 endif |
55 endif | 55 endif |
56 | 56 |
57 Z80OBJS=z80inst.o z80_to_x86.o | 57 Z80OBJS=z80inst.o z80_to_x86.o |
59 CONFIGOBJS=config.o tern.o util.o | 59 CONFIGOBJS=config.o tern.o util.o |
60 | 60 |
61 MAINOBJS=blastem.o debug.o gdb_remote.o vdp.o render_sdl.o io.o $(CONFIGOBJS) gst.o $(M68KOBJS) $(TRANSOBJS) $(AUDIOOBJS) | 61 MAINOBJS=blastem.o debug.o gdb_remote.o vdp.o render_sdl.o io.o $(CONFIGOBJS) gst.o $(M68KOBJS) $(TRANSOBJS) $(AUDIOOBJS) |
62 | 62 |
63 ifeq ($(CPU),x86_64) | 63 ifeq ($(CPU),x86_64) |
64 CFLAGS+=-DX86_64 | 64 CFLAGS+=-DX86_64 -m64 |
65 LDFLAGS+=-m64 | |
65 else | 66 else |
66 ifeq ($(CPU),i686) | 67 ifeq ($(CPU),i686) |
67 CFLAGS+=-DX86_32 | 68 CFLAGS+=-DX86_32 -m32 |
69 LDFLAGS+=-m32 | |
68 endif | 70 endif |
69 endif | 71 endif |
70 | 72 |
71 ifdef NOZ80 | 73 ifdef NOZ80 |
72 CFLAGS+=-DNO_Z80 | 74 CFLAGS+=-DNO_Z80 |