Makefile
779 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# Makefile for region test programs
#
# Note: You need to copy the region files from the above directory since
# region.c needs to be recompiled without the 'non_shared' option.
#
PRDEPTH = ../../..
include $(PRDEPTH)/PRdefs
OPTIMIZER = -g
TARGETS = rgtest
LCOPTS = -D_STANDALONE -D_DEBUG -fullwarn
LCINCS = -I.. -I$(PRDEPTH)/include
LLDOPTS =-L$(ROOT)/usr/lib/PR
LLDLIBS =
OBJECTS = region.o malloc.o free.o getbufcount.o getsize.o \
rgtest.o memory.o
rgtest: $(OBJECTS)
$(CCF) $(OBJECTS) $(LDFLAGS) -o $@
default: $(TARGETS)
include $(COMMONRULES)
install: default
free.o: ../free.c
$(CCF) -c $?
getbufcount.o: ../getbufcount.c
$(CCF) -c $?
getsize.o: ../getsize.c
$(CCF) -c $?
malloc.o: ../malloc.c
$(CCF) -c $?
region.o: ../region.c
$(CCF) -c $?