1 |
dpavlin |
22 |
# |
2 |
dpavlin |
28 |
# $Id: Makefile.skel,v 1.25 2006/07/11 04:44:11 debug Exp $ |
3 |
dpavlin |
22 |
# |
4 |
|
|
# Makefile for GXemul machines |
5 |
|
|
# |
6 |
|
|
|
7 |
|
|
CFLAGS=$(CWARNINGS) $(COPTIM) $(XINCLUDE) $(DINCLUDE) |
8 |
|
|
OBJS=interrupts.o \ |
9 |
dpavlin |
24 |
machine_algor.o machine_alpha.o machine_arc.o machine_avr.o \ |
10 |
|
|
machine_bebox.o machine_cats.o machine_cobalt.o machine_db64360.o \ |
11 |
|
|
machine_evbmips.o machine_hpcarm.o machine_hpcmips.o machine_hpcsh.o \ |
12 |
dpavlin |
22 |
machine_iq80321.o machine_iyonix.o machine_macppc.o \ |
13 |
dpavlin |
28 |
machine_mvmeppc.o machine_netgear.o machine_netwinder.o \ |
14 |
|
|
machine_playstation2.o machine_pmax.o machine_pmppc.o machine_prep.o \ |
15 |
|
|
machine_psp.o machine_qemu.o machine_sandpoint.o \ |
16 |
dpavlin |
24 |
machine_sgi.o machine_shark.o machine_sonynews.o machine_sparc.o \ |
17 |
|
|
machine_test.o machine_ts7200.o machine_walnut.o machine_x86.o \ |
18 |
|
|
machine_zaurus.o |
19 |
dpavlin |
22 |
|
20 |
|
|
all: |
21 |
|
|
$(MAKE) objs |
22 |
|
|
$(MAKE) automachine.o |
23 |
|
|
|
24 |
|
|
automachine.c: $(OBJS) automachine_head.c automachine_middle.c automachine_tail.c makeautomachine.sh |
25 |
|
|
./makeautomachine.sh |
26 |
|
|
|
27 |
|
|
objs: $(OBJS) |
28 |
|
|
|
29 |
|
|
$(OBJS): Makefile |
30 |
|
|
|
31 |
|
|
|
32 |
|
|
clean: |
33 |
|
|
rm -f $(OBJS) *core |
34 |
|
|
rm -f automachine.[co] |
35 |
|
|
|
36 |
|
|
clean_all: clean |
37 |
|
|
rm -f Makefile |
38 |
|
|
|