Makefile
1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# 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.