Makefile 779 Bytes
#
# 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 $?