/[gxemul]/trunk/src/Makefile.skel
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/Makefile.skel

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6 by dpavlin, Mon Oct 8 16:18:11 2007 UTC revision 36 by dpavlin, Mon Oct 8 16:21:34 2007 UTC
# Line 1  Line 1 
1  #  #
2  #  $Id: Makefile.skel,v 1.54 2005/06/02 00:08:41 debug Exp $  #  $Id: Makefile.skel,v 1.96 2007/03/16 14:13:59 debug Exp $
3  #  #
4  #  Makefile for GXemul src  #  Makefile for GXemul src
5  #  #
6    
7  CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(INCLUDE)  CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(INCLUDE)
8    
9  OBJS=console.o cpu.o debugger.o diskimage.o emul.o emul_parse.o file.o \  OBJS=console.o cpu.o emul.o emul_parse.o file.o float_emul.o \
10          machine.o main.o misc.o memory.o device.o net.o symbol.o useremul.o \          interrupt.o machine.o main.o misc.o memory.o device.o net.o \
11          x11.o cpu_mips.o cpu_mips_coproc.o memory_fast_v2h.o bintrans.o \          settings.o symbol.o symbol_demangle.o timer.o useremul.o x11.o
12          cpu_alpha.o cpu_arm.o cpu_hppa.o cpu_ppc.o cpu_sparc.o cpu_urisc.o \  
13          cpu_x86.o arcbios.o dec_prom.o ps2_bios.o of.o pc_bios.o  all: do_include
14            $(MAKE) do_src do_cpus do_debugger do_devices do_disk \
15                    do_machines do_native do_net do_promemul
16    
17    do_include:
18            cd include; $(MAKE); cd ..
19    
20  all: do_src do_devices  do_cpus:
21            cd cpus; $(MAKE); cd ..
22    
23    do_debugger:
24            cd debugger; $(MAKE); cd ..
25    
26  do_devices:  do_devices:
27          cd devices; $(MAKE); cd ..          cd devices; $(MAKE); cd ..
28    
29  do_src: $(OBJS)  do_disk:
30            cd disk; $(MAKE); cd ..
 $(OBJS): Makefile  
31    
32  bintrans.o: bintrans.c bintrans_alpha.c bintrans_i386.c  do_machines:
33            cd machines; $(MAKE); cd ..
34    
35  cpu_arm.o: cpu_arm.c memory_rw.c  do_native:
36            cd native; $(MAKE); cd ..
37    
38  cpu_mips.o: cpu_mips.c cpu_mips16.c memory_mips.c  do_net:
39            cd net; $(MAKE); cd ..
40    
41  memory_mips.c: memory_rw.c memory_mips_v2p.c  do_promemul:
42            cd promemul; $(MAKE); cd ..
43    
44  cpu_ppc.o: cpu_ppc.c memory_rw.c  do_src: $(OBJS)
   
 cpu_x86.o: cpu_x86.c memory_x86.c  
45    
46  memory_x86.c: memory_rw.c  $(OBJS): Makefile
47    
48  clean:  clean:
49          rm -f $(OBJS) *core          rm -f $(OBJS) *core tmp_*.c
50            cd include; $(MAKE) clean; cd ..
51            cd cpus; $(MAKE) clean; cd ..
52            cd debugger; $(MAKE) clean; cd ..
53          cd devices; $(MAKE) clean; cd ..          cd devices; $(MAKE) clean; cd ..
54            cd disk; $(MAKE) clean; cd ..
55            cd machines; $(MAKE) clean; cd ..
56            cd native; $(MAKE) clean; cd ..
57            cd net; $(MAKE) clean; cd ..
58            cd promemul; $(MAKE) clean; cd ..
59    
60  clean_all: clean  clean_all: clean
61            cd include; $(MAKE) clean_all; cd ..
62            cd cpus; $(MAKE) clean_all; cd ..
63            cd debugger; $(MAKE) clean_all; cd ..
64          cd devices; $(MAKE) clean_all; cd ..          cd devices; $(MAKE) clean_all; cd ..
65            cd disk; $(MAKE) clean_all; cd ..
66            cd machines; $(MAKE) clean_all; cd ..
67            cd native; $(MAKE) clean_all; cd ..
68            cd net; $(MAKE) clean_all; cd ..
69            cd promemul; $(MAKE) clean_all; cd ..
70          rm -f Makefile          rm -f Makefile
71    

Legend:
Removed from v.6  
changed lines
  Added in v.36

  ViewVC Help
Powered by ViewVC 1.1.26