1 |
# |
# |
2 |
# $Id: Makefile.skel,v 1.84 2005/08/29 14:46:31 debug Exp $ |
# $Id: Makefile.skel,v 1.90 2006/05/05 05:32:46 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 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 |
settings.o symbol.o symbol_demangle.o useremul.o x11.o |
12 |
|
|
13 |
all: do_src do_cpus do_devices do_promemul |
all: do_include |
14 |
|
$(MAKE) do_src do_cpus do_debugger do_devices do_machines do_promemul |
15 |
|
|
16 |
|
do_include: |
17 |
|
cd include; $(MAKE); cd .. |
18 |
|
|
19 |
do_cpus: |
do_cpus: |
20 |
cd cpus; $(MAKE); cd .. |
cd cpus; $(MAKE); cd .. |
21 |
|
|
22 |
|
do_debugger: |
23 |
|
cd debugger; $(MAKE); cd .. |
24 |
|
|
25 |
do_devices: |
do_devices: |
26 |
cd devices; $(MAKE); cd .. |
cd devices; $(MAKE); cd .. |
27 |
|
|
28 |
|
do_machines: |
29 |
|
cd machines; $(MAKE); cd .. |
30 |
|
|
31 |
do_promemul: |
do_promemul: |
32 |
cd promemul; $(MAKE); cd .. |
cd promemul; $(MAKE); cd .. |
33 |
|
|
37 |
|
|
38 |
clean: |
clean: |
39 |
rm -f $(OBJS) *core tmp_*.c |
rm -f $(OBJS) *core tmp_*.c |
40 |
|
cd include; $(MAKE) clean; cd .. |
41 |
cd cpus; $(MAKE) clean; cd .. |
cd cpus; $(MAKE) clean; cd .. |
42 |
|
cd debugger; $(MAKE) clean; cd .. |
43 |
cd devices; $(MAKE) clean; cd .. |
cd devices; $(MAKE) clean; cd .. |
44 |
|
cd machines; $(MAKE) clean; cd .. |
45 |
cd promemul; $(MAKE) clean; cd .. |
cd promemul; $(MAKE) clean; cd .. |
46 |
|
|
47 |
clean_all: clean |
clean_all: clean |
48 |
|
cd include; $(MAKE) clean_all; cd .. |
49 |
cd cpus; $(MAKE) clean_all; cd .. |
cd cpus; $(MAKE) clean_all; cd .. |
50 |
|
cd debugger; $(MAKE) clean_all; cd .. |
51 |
cd devices; $(MAKE) clean_all; cd .. |
cd devices; $(MAKE) clean_all; cd .. |
52 |
|
cd machines; $(MAKE) clean_all; cd .. |
53 |
cd promemul; $(MAKE) clean_all; cd .. |
cd promemul; $(MAKE) clean_all; cd .. |
54 |
rm -f Makefile |
rm -f Makefile |
55 |
|
|