GNUmakefile 802 Bytes
#!smake
#
# Makefile for system library subdirectory
#

SUBDIR=system

COMMONPREF=$(SUBDIR)

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

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

sinclude ../companydefs
sinclude locdefs

#LCOPTS = -non_shared -mips2 -fullwarn -G 0 -wlint,-f -woff 819,826,852
LCOPTS = -non_shared -mips2 -Wall -G 0
LCINCS = -I. -I$(LIBDEPTH)/include -I$(PRDEPTH)/include

LASOPTS   = -non_shared -G 0 -mips2
LASINCS   = -I. -I$(PRDEPTH)/include

CFILES = afterprenmi.c getmemsize.c initialize.c 

ASFILES = parameters.s 

#if $(LIBNAME) != "ULTRA_ROM"
ifneq "$(LIBNAME)" "ULTRA_ROM"
CFILES   += exit.c initialize_kmc.c initialize_msp.c initialize_emu.c
endif
#endif

LDIRT =

include $(LIBDEPTH)/librules

include $(PRDEPTH)/PRrules

install: default

clobber clean: