--- trunk/src/cpus/Makefile.skel 2007/10/08 16:19:28 21 +++ trunk/src/cpus/Makefile.skel 2007/10/08 16:19:37 22 @@ -1,12 +1,13 @@ # -# $Id: Makefile.skel,v 1.15 2005/11/13 22:34:22 debug Exp $ +# $Id: Makefile.skel,v 1.17 2005/12/11 12:46:24 debug Exp $ # # Makefile for GXemul src/cpus # CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(DINCLUDE) -OBJS=cpu_mips.o cpu_mips_coproc.o bintrans.o memory_fast_v2h.o $(CPU_ARCHS) +OBJS=cpu_mips.o cpu_mips_coproc.o bintrans.o memory_fast_v2h.o \ + $(CPU_ARCHS) $(CPU_BACKENDS) TOOLS=generate_head generate_tail $(CPU_TOOLS) @@ -164,21 +165,16 @@ ############################################################################### -cpu_mips.o: cpu_mips.c cpu_mips16.c cpu_dyntrans.c memory_mips.c +cpu_mips.o: cpu_mips.c cpu_mips16.c cpu_dyntrans.c memory_mips.c \ + cpu_mips_instr.c tmp_mips_head.c tmp_mips_tail.c memory_mips.c: ../memory_rw.c memory_mips_v2p.c +tmp_mips_head.c: generate_head + ./generate_head mips MIPS > tmp_mips_head.c -############################################################################### - -cpu_newmips.o: cpu_newmips.c cpu_newmips_instr.c cpu_dyntrans.c ../memory_rw.c \ - tmp_newmips_head.c tmp_newmips_tail.c - -tmp_newmips_head.c: generate_head - ./generate_head newmips NEWMIPS > tmp_newmips_head.c - -tmp_newmips_tail.c: generate_tail - ./generate_tail newmips NEWMIPS > tmp_newmips_tail.c +tmp_mips_tail.c: generate_tail + ./generate_tail mips MIPS > tmp_mips_tail.c ###############################################################################