1 |
# |
2 |
# $Id: Makefile.skel,v 1.87 2005/12/20 21:19:14 debug Exp $ |
3 |
# |
4 |
# Makefile for GXemul src |
5 |
# |
6 |
|
7 |
CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(INCLUDE) |
8 |
|
9 |
OBJS=console.o cpu.o debugger.o diskimage.o emul.o emul_parse.o file.o \ |
10 |
float_emul.o machine.o main.o misc.o memory.o device.o net.o \ |
11 |
symbol.o useremul.o x11.o |
12 |
|
13 |
all: do_include |
14 |
$(MAKE) do_src do_cpus do_devices do_machines do_promemul |
15 |
|
16 |
do_include: |
17 |
cd include; $(MAKE); cd .. |
18 |
|
19 |
do_cpus: |
20 |
cd cpus; $(MAKE); cd .. |
21 |
|
22 |
do_devices: |
23 |
cd devices; $(MAKE); cd .. |
24 |
|
25 |
do_machines: |
26 |
cd machines; $(MAKE); cd .. |
27 |
|
28 |
do_promemul: |
29 |
cd promemul; $(MAKE); cd .. |
30 |
|
31 |
do_src: $(OBJS) |
32 |
|
33 |
$(OBJS): Makefile |
34 |
|
35 |
clean: |
36 |
rm -f $(OBJS) *core tmp_*.c |
37 |
cd include; $(MAKE) clean; cd .. |
38 |
cd cpus; $(MAKE) clean; cd .. |
39 |
cd devices; $(MAKE) clean; cd .. |
40 |
cd machines; $(MAKE) clean; cd .. |
41 |
cd promemul; $(MAKE) clean; cd .. |
42 |
|
43 |
clean_all: clean |
44 |
cd include; $(MAKE) clean_all; cd .. |
45 |
cd cpus; $(MAKE) clean_all; cd .. |
46 |
cd devices; $(MAKE) clean_all; cd .. |
47 |
cd machines; $(MAKE) clean_all; cd .. |
48 |
cd promemul; $(MAKE) clean_all; cd .. |
49 |
rm -f Makefile |
50 |
|