1 |
# |
# |
2 |
# $Id: Makefile.skel,v 1.47 2005/03/13 09:36:08 debug Exp $ |
# $Id: Makefile.skel,v 1.50 2005/04/16 02:02:27 debug Exp $ |
3 |
# |
# |
4 |
# Makefile for GXemul src |
# Makefile for GXemul src |
5 |
# |
# |
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 memory.o device.o net.o symbol.o useremul.o x11.o \ |
machine.o main.o memory.o device.o net.o symbol.o useremul.o x11.o \ |
11 |
cpu_mips.o cpu_mips_coproc.o memory_fast_v2h.o bintrans.o \ |
cpu_mips.o cpu_mips_coproc.o memory_fast_v2h.o bintrans.o \ |
12 |
cpu_alpha.o cpu_hppa.o cpu_ppc.o cpu_sparc.o cpu_urisc.o \ |
cpu_alpha.o cpu_hppa.o cpu_ppc.o cpu_sparc.o cpu_urisc.o cpu_x86.o \ |
13 |
arcbios.o dec_prom.o ps2_bios.o of.o |
arcbios.o dec_prom.o ps2_bios.o of.o pc_bios.o |
14 |
|
|
15 |
|
|
16 |
all: $(OBJS) |
all: do_src do_devices |
17 |
|
|
18 |
|
do_devices: |
19 |
|
cd devices; $(MAKE); cd .. |
20 |
|
|
21 |
|
do_src: $(OBJS) |
22 |
|
|
23 |
$(OBJS): Makefile |
$(OBJS): Makefile |
24 |
|
|
28 |
|
|
29 |
clean: |
clean: |
30 |
rm -f $(OBJS) *core |
rm -f $(OBJS) *core |
31 |
|
cd devices; $(MAKE) clean; cd .. |
32 |
|
|
33 |
clean_all: clean |
clean_all: clean |
34 |
|
cd devices; $(MAKE) clean_all; cd .. |
35 |
rm -f Makefile |
rm -f Makefile |
36 |
|
|