Makefile
683 Bytes
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
#!smake
#
# Makefile for audio library
#
include $(ROOT)/usr/include/make/PRdefs
.PATH: ../src
OPTIMIZER = -g
TARGETS=libaud.a
LCOPTS = -woff 613 -mips2 -non_shared -fullwarn -G 0
LCINCS = -I. -I$(ROOT)/usr/include/PR -I$(ROOT)/usr/include -lm
CFILES = \
sl.c \
seq.c \
seqplayer.c \
snd.c \
sndplayer.c \
bnkf.c \
filter.c \
adpcm.c \
resample.c \
save.c \
event.c \
env.c \
reverb.c \
auxbus.c \
mainbus.c
libaud.a: synthesizer.o $(OBJECTS) Makefile
$(AR) rc $@ synthesizer.o $(OBJECTS)
default: $(TARGETS)
include $(COMMONRULES)
exports: default
$(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS)
install: default
$(INSTALL) -m 444 -F /usr/lib/PR $(TARGETS)