-
Notifications
You must be signed in to change notification settings - Fork 25
/
Makefile.pv
55 lines (43 loc) · 852 Bytes
/
Makefile.pv
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 pv
# Copyright (C) 1998-2007 Kengo Ichiki <[email protected]>
# $Id: Makefile.pv,v 1.8 2007/11/05 02:39:38 kichiki Exp $
LIBS =\
-lncurses \
`pkg-config --libs ao` \
`pkg-config --libs sndfile` \
`pkg-config --libs fftw3` \
`pkg-config --libs samplerate` \
`pkg-config --libs jack` \
-lm
CFLAGS =\
-Wall -O3 \
`pkg-config --cflags ao` \
`pkg-config --cflags sndfile` \
`pkg-config --cflags fftw3` \
`pkg-config --cflags samplerate` \
`pkg-config --cflags jack`
LDFLAGS =
CC = cc
LD = $(CC)
RM = rm -f
all: pv
OBJ = \
pv.o \
pv-complex.o \
pv-conventional.o \
pv-ellis.o \
pv-freq.o \
pv-loose-lock.o \
pv-nofft.o\
pv-complex-curses.o \
hc.o \
fft.o \
snd.o \
ao-wrapper.o \
jack-pv.o
pv: $(OBJ)
$(LD) $(LDFLAGS) -o pv $(OBJ) $(LIBS)
clean:
$(RM) *.o
distclean:
$(RM) pv *.o