-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
63 lines (51 loc) · 1001 Bytes
/
Makefile
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
56
57
58
59
60
61
62
# makefile for all sources
# Victor Lazzarini, 2009
# set PREFIX to the install location prefix
PREFIX=/usr/local
PROGS = \
bicsf \
cannon \
cmusic \
dgl \
filter \
fir \
frm \
gen \
help \
lpc \
lprev \
misc \
noise \
pvoc \
rusty \
show \
sig \
sndpath \
srconv \
stochist \
zdelay \
todac
MFLAGS = CFLAGS="-w -Wno-implicit-function-declaration -Wno-return-type -Wimplicit-int -I../../../include -I../../include -I../include" LFLAGS="-L../../lib"
all: progs install-local
progs: lib/libcarl.a just_progs
just_progs:
for file in ${PROGS} ; \
do \
echo $${file} ; cd $${file} ; make ${MFLAGS} ; cd ..; \
done
lib/libcarl.a:
cd lib ; make ${MFLAGS} install
install-local: lib/libcarl.a
for file in ${PROGS} ; \
do \
cd $${file} ; make ${MFLAGS} install ; cd ..;\
done
install:
sh install.sh ${PREFIX}
clean:
cd lib ; rm -f libbicsf.a ;make clean ;
for file in ${PROGS} ; \
do \
cd $${file} ; make ${MFLAGS} clean ; cd ..; \
done
cd bin; rm -f *;