/[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 22 by dpavlin, Mon Oct 8 16:19:37 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.87 2005/12/20 21:19:14 debug Exp $
3  #  #
4  #  Makefile for GXemul src  #  Makefile for GXemul src
5  #  #
# Line 7  Line 7 
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 debugger.o diskimage.o emul.o emul_parse.o file.o \
10          machine.o main.o misc.o memory.o device.o net.o symbol.o useremul.o \          float_emul.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 \          symbol.o useremul.o x11.o
         cpu_alpha.o cpu_arm.o cpu_hppa.o cpu_ppc.o cpu_sparc.o cpu_urisc.o \  
         cpu_x86.o arcbios.o dec_prom.o ps2_bios.o of.o pc_bios.o  
12    
13    all: do_include
14            $(MAKE) do_src do_cpus do_devices do_machines do_promemul
15    
16  all: do_src do_devices  do_include:
17            cd include; $(MAKE); cd ..
18    
19    do_cpus:
20            cd cpus; $(MAKE); cd ..
21    
22  do_devices:  do_devices:
23          cd devices; $(MAKE); cd ..          cd devices; $(MAKE); cd ..
24    
25  do_src: $(OBJS)  do_machines:
26            cd machines; $(MAKE); cd ..
 $(OBJS): Makefile  
   
 bintrans.o: bintrans.c bintrans_alpha.c bintrans_i386.c  
27    
28  cpu_arm.o: cpu_arm.c memory_rw.c  do_promemul:
29            cd promemul; $(MAKE); cd ..
30    
31  cpu_mips.o: cpu_mips.c cpu_mips16.c memory_mips.c  do_src: $(OBJS)
   
 memory_mips.c: memory_rw.c memory_mips_v2p.c  
   
 cpu_ppc.o: cpu_ppc.c memory_rw.c  
   
 cpu_x86.o: cpu_x86.c memory_x86.c  
32    
33  memory_x86.c: memory_rw.c  $(OBJS): Makefile
34    
35  clean:  clean:
36          rm -f $(OBJS) *core          rm -f $(OBJS) *core tmp_*.c
37            cd include; $(MAKE) clean; cd ..
38            cd cpus; $(MAKE) clean; cd ..
39          cd devices; $(MAKE) clean; cd ..          cd devices; $(MAKE) clean; cd ..
40            cd machines; $(MAKE) clean; cd ..
41            cd promemul; $(MAKE) clean; cd ..
42    
43  clean_all: clean  clean_all: clean
44            cd include; $(MAKE) clean_all; cd ..
45            cd cpus; $(MAKE) clean_all; cd ..
46          cd devices; $(MAKE) clean_all; cd ..          cd devices; $(MAKE) clean_all; cd ..
47            cd machines; $(MAKE) clean_all; cd ..
48            cd promemul; $(MAKE) clean_all; cd ..
49          rm -f Makefile          rm -f Makefile
50    

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

  ViewVC Help
Powered by ViewVC 1.1.26