--- trunk/src/Makefile.skel 2007/10/08 16:20:58 32 +++ trunk/src/Makefile.skel 2007/10/08 16:22:56 44 @@ -1,22 +1,24 @@ # -# $Id: Makefile.skel,v 1.92 2006/09/02 05:55:19 debug Exp $ +# $Id: Makefile.skel,v 1.103 2007/06/28 13:36:45 debug Exp $ # # Makefile for GXemul src # CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(INCLUDE) -OBJS=console.o cpu.o diskimage.o emul.o emul_parse.o file.o \ - float_emul.o machine.o main.o misc.o memory.o device.o net.o \ - settings.o symbol.o symbol_demangle.o timer.o useremul.o x11.o +OBJS=emul.o emul_parse.o float_emul.o interrupt.o main.o memory.o misc.o \ + net.o settings.o timer.o useremul.o all: do_include - $(MAKE) do_src do_cpus do_debugger do_devices do_machines \ - do_net do_promemul + $(MAKE) do_src do_console do_cpus do_debugger do_devices do_disk \ + do_file do_machines do_net do_promemul do_symbol do_useremul do_include: cd include; $(MAKE); cd .. +do_console: + cd console; $(MAKE); cd .. + do_cpus: cd cpus; $(MAKE); cd .. @@ -26,6 +28,12 @@ do_devices: cd devices; $(MAKE); cd .. +do_disk: + cd disk; $(MAKE); cd .. + +do_file: + cd file; $(MAKE); cd .. + do_machines: cd machines; $(MAKE); cd .. @@ -35,6 +43,12 @@ do_promemul: cd promemul; $(MAKE); cd .. +do_symbol: + cd symbol; $(MAKE); cd .. + +do_useremul: + cd useremul; $(MAKE); cd .. + do_src: $(OBJS) $(OBJS): Makefile @@ -42,20 +56,30 @@ clean: rm -f $(OBJS) *core tmp_*.c cd include; $(MAKE) clean; cd .. + cd console; $(MAKE) clean; cd .. cd cpus; $(MAKE) clean; cd .. cd debugger; $(MAKE) clean; cd .. cd devices; $(MAKE) clean; cd .. + cd disk; $(MAKE) clean; cd .. + cd file; $(MAKE) clean; cd .. cd machines; $(MAKE) clean; cd .. cd net; $(MAKE) clean; cd .. cd promemul; $(MAKE) clean; cd .. + cd symbol; $(MAKE) clean; cd .. + cd useremul; $(MAKE) clean; cd .. clean_all: clean cd include; $(MAKE) clean_all; cd .. + cd console; $(MAKE) clean_all; cd .. cd cpus; $(MAKE) clean_all; cd .. cd debugger; $(MAKE) clean_all; cd .. cd devices; $(MAKE) clean_all; cd .. + cd disk; $(MAKE) clean_all; cd .. + cd file; $(MAKE) clean_all; cd .. cd machines; $(MAKE) clean_all; cd .. cd net; $(MAKE) clean_all; cd .. cd promemul; $(MAKE) clean_all; cd .. + cd symbol; $(MAKE) clean_all; cd .. + cd useremul; $(MAKE) clean_all; cd .. rm -f Makefile