1 |
# |
2 |
# $Id: Makefile.skel,v 1.43 2007/06/19 02:11:46 debug Exp $ |
3 |
# |
4 |
# Makefile for GXemul machines |
5 |
# |
6 |
|
7 |
CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(DINCLUDE) |
8 |
OBJS= machine.o \ |
9 |
machine_algor.o machine_alpha.o machine_arc.o machine_bebox.o \ |
10 |
machine_cats.o machine_cobalt.o machine_dreamcast.o machine_evbmips.o \ |
11 |
machine_hpcarm.o machine_hpcmips.o machine_hpcsh.o machine_iq80321.o \ |
12 |
machine_landisk.o machine_macppc.o machine_mvme88k.o \ |
13 |
machine_mvmeppc.o machine_netwinder.o machine_playstation2.o \ |
14 |
machine_pmax.o machine_pmppc.o machine_prep.o machine_qemu.o \ |
15 |
machine_sgi.o machine_sparc.o machine_test.o machine_sandpoint.o |
16 |
|
17 |
all: |
18 |
$(MAKE) objs |
19 |
$(MAKE) automachine.o |
20 |
|
21 |
automachine.c: $(OBJS) automachine_head.c automachine_middle.c automachine_tail.c makeautomachine.sh |
22 |
./makeautomachine.sh |
23 |
|
24 |
objs: $(OBJS) |
25 |
|
26 |
$(OBJS): Makefile |
27 |
|
28 |
|
29 |
clean: |
30 |
rm -f $(OBJS) *core |
31 |
rm -f automachine.[co] |
32 |
|
33 |
clean_all: clean |
34 |
rm -f Makefile |
35 |
|