Makefile 1.05 KB
#
# Makefile for RSP audio 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  = *.dat *.lst *.sym

AUD_INCL = 	abi.h

TARGETS = adpcmtask adpcmresample envmix areverb filtertask

default: all

install: ${TARGETS} ${INST_TARGETS}
	$(INSTALL) -m 555 -F /usr/sbin $(INST_TARGETS)

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

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

all:	${TARGETS}

adpcmtask: adpcmtask.c
	${CC} ${LCINCS} -o $@ adpcmtask.c

adpcmresample: adpcmresample.c adpcmobj.c
	${CC} ${LCINCS} -o $@ adpcmresample.c adpcmobj.c ${LDLIBS}

filtertask: filtertask.c
	${CC} ${LCINCS} -o $@ filtertask.c ${LDLIBS}

envmix: envmix.c adpcmobj.c envobj.c
	${CC} ${LCINCS} -o $@ envmix.c adpcmobj.c envobj.c ${LDLIBS}

areverb: areverb.c adpcmobj.c
	${CC} ${LCINCS} -o $@ areverb.c adpcmobj.c ${LDLIBS}

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