GNUmakefile 583 Bytes
#!smake
#
# Makefile for region library subdirectory
#

SUBDIR=rg

COMMONPREF=$(SUBDIR)

PRDEPTH=$(ROOT)/PR
include $(PRDEPTH)/PRdefs

LIBDEPTH=$(ROOT)/PR/libultra
include $(LIBDEPTH)/libdefs

sinclude ../companydefs

LCOPTS = -non_shared -mips2 -Wall -G 0
LCINCS = -I. -I$(LIBDEPTH)/include -I$(PRDEPTH)/include

sinclude locdefs

CFILES = region.c malloc.c free.c getbufcount.c getsize.c 

#if $(LIBNAME) != "ULTRA_ROM"
ifneq "$(LIBNAME)" "ULTRA_ROM"
CFILES += printregion.c
endif
#endif 

include $(LIBDEPTH)/librules

include $(PRDEPTH)/PRrules

install: default

clobber clean: