Makefile 730 Bytes
#
# Makefile for RSP graphics microcode
#

PRDEPTH=../../
include $(PRDEPTH)/PRdefs

CVERSION = -ansi -wlint,-zaihv
OPTIMIZER = -g

# local defs
LCDEFS = 
# local includes
LCINCS = -I. -I$(ROOT)/usr/include/PR
LCOPTS = -fullwarn
LDOPTS = -L. -L$(ROOT)/usr/lib/PR
LDLIBS = -ll -lm

LDIRT  = src out *.lst *.dat *.sym

AUDIO_INCL = ../graphics/rsp.h src_regs.h src_dmem.h src.i
AUDIO_CODE = src.s

TARGETS = src

default: all

install: ${TARGETS}

clean:
	/bin/rm -f *.o $(LDIRT)

clobber: clean
	/bin/rm -f ${TARGETS}

all:	${TARGETS}

#
# without a linker, we accomplish "modularity" by using include files
#
src:	${AUDIO_INCL} ${AUDIO_CODE}
	rspasm ${LCINCS} -o $@ src.s


# DO NOT DELETE THIS LINE -- make depend depends on it.