4909cca9233fcb2c3e0d9f78f8edb0f4b08b062e
[cacao.git] / mm / Makefile
1 # cacao/mm/Makefile
2 # $Id: Makefile 51 1998-11-09 23:06:11Z phil $
3
4 AR = ar
5 COMBINE = $(AR) rcs mm.o
6
7 mm.o: actualtarget Makefile
8
9 actualtarget: gc2
10
11 clean:
12         rm -rf *.o *~
13
14 old: heap.old.o
15         rm -f mm.o; $(COMBINE) heap.old.o
16
17 heap.old.o: heap.old.c ../tables.h ../global.h
18
19
20
21
22
23
24
25 # Targets below this point are experimental and will usually
26 # not work reliably
27
28
29
30
31
32
33
34
35 new: heap.allocator.o allocator.o 
36         rm -f mm.o; $(COMBINE) heap.allocator.o allocator.o
37
38 newer: heap.bitmap.o allocator.o bitmap.o
39         rm -f mm.o; $(COMBINE) heap.bitmap.o allocator.o bitmap.o
40
41 gc: heap.o allocator.o bitmap.o
42         rm -f mm.o; $(COMBINE) heap.o allocator.o bitmap.o
43
44 gc2: heap2.o allocator.o bitmap2.o
45         rm -f mm.o; $(COMBINE) heap2.o allocator.o bitmap2.o
46
47 heap2.o: heap2.c allocator.h mm.h bitmap2.h
48
49 heap.o: heap.c allocator.h bitmap2.h
50
51 bitmap2.o: bitmap2.c bitmap2.h allocator.h mm.h
52
53 heap.allocator.o: heap.c allocator.h
54
55 heap.bitmap.o: heap.bitmap.c bitmap.h allocator.h
56
57 bitmap.o: bitmap.c bitmap.h
58
59 allocator.o: allocator.h allocator.c 
60
61 gc.o:  heap.h gc.c 
62
63
64 #
65 # These are local overrides for various environment variables in Emacs.
66 # Please do not remove this and leave it at the end of the file, where
67 # Emacs will automagically detect them.
68 # ---------------------------------------------------------------------
69 # Local variables:
70 # mode: Makefile
71 # indent-tabs-mode: t
72 # tab-width: 4
73 # End:
74 #
75