--- trunk/src/Makefile.skel 2007/10/08 16:17:48 2 +++ trunk/src/Makefile.skel 2007/10/08 16:18:51 14 @@ -1,5 +1,5 @@ # -# $Id: Makefile.skel,v 1.47 2005/03/13 09:36:08 debug Exp $ +# $Id: Makefile.skel,v 1.84 2005/08/29 14:46:31 debug Exp $ # # Makefile for GXemul src # @@ -7,23 +7,33 @@ CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(INCLUDE) OBJS=console.o cpu.o debugger.o diskimage.o emul.o emul_parse.o file.o \ - machine.o main.o memory.o device.o net.o symbol.o useremul.o x11.o \ - cpu_mips.o cpu_mips_coproc.o memory_fast_v2h.o bintrans.o \ - cpu_alpha.o cpu_hppa.o cpu_ppc.o cpu_sparc.o cpu_urisc.o \ - arcbios.o dec_prom.o ps2_bios.o of.o + machine.o main.o misc.o memory.o device.o net.o symbol.o useremul.o \ + x11.o +all: do_src do_cpus do_devices do_promemul -all: $(OBJS) +do_cpus: + cd cpus; $(MAKE); cd .. -$(OBJS): Makefile +do_devices: + cd devices; $(MAKE); cd .. + +do_promemul: + cd promemul; $(MAKE); cd .. -bintrans.o: bintrans.c bintrans_alpha.c bintrans_i386.c +do_src: $(OBJS) -cpu_mips.o: cpu_mips.c memory_mips_v2p.c cpu_mips16.c memory_mips.c +$(OBJS): Makefile clean: - rm -f $(OBJS) *core + rm -f $(OBJS) *core tmp_*.c + cd cpus; $(MAKE) clean; cd .. + cd devices; $(MAKE) clean; cd .. + cd promemul; $(MAKE) clean; cd .. clean_all: clean + cd cpus; $(MAKE) clean_all; cd .. + cd devices; $(MAKE) clean_all; cd .. + cd promemul; $(MAKE) clean_all; cd .. rm -f Makefile