eed680aba899ef8434e72db22ab86d5b5155871f
[cacao.git] / mm / Makefile
1 # cacao/mm/Makefile
2 # $Id: Makefile 61 1998-11-11 19:40:23Z phil $
3
4 AR = ar
5 COMBINE = $(AR) rcs mm.o
6
7 mm.o: actualtarget Makefile
8
9 clean:
10         rm -rf *.o *~
11
12 # choose gc1 for the old collector, gc2 for the new one
13 actualtarget: gc2
14
15
16
17
18 gc1: heap.old.o
19         rm -f mm.o; $(COMBINE) heap.old.o
20
21 heap.old.o: heap.old.c ../tables.h ../global.h
22
23
24 # Targets below this point are experimental and may not work reliably
25
26
27 gc2: heap2.o allocator.o bitmap2.o
28         rm -f mm.o; $(COMBINE) heap2.o allocator.o bitmap2.o
29
30 heap2.o: heap2.c allocator.h mm.h bitmap2.h
31
32 bitmap2.o: bitmap2.c bitmap2.h allocator.h mm.h
33
34 allocator.o: allocator.h allocator.c 
35
36
37 #
38 # These are local overrides for various environment variables in Emacs.
39 # Please do not remove this and leave it at the end of the file, where
40 # Emacs will automagically detect them.
41 # ---------------------------------------------------------------------
42 # Local variables:
43 # mode: Makefile
44 # indent-tabs-mode: t
45 # tab-width: 4
46 # End:
47 #
48