1
|
1 PROGRAMS = audiodelay alsacap rtaudio-test
|
0
|
2 RM = rm -f
|
|
3
|
1
|
4 CC = gcc
|
|
5 CXX = g++
|
0
|
6 CFLAGS = -O2 -Wall
|
|
7
|
|
8 all: $(PROGRAMS)
|
|
9
|
1
|
10 alsacap: alsacap.c
|
|
11 $(CC) $(CFLAGS) -o $@ alsacap.c -lasound
|
|
12
|
0
|
13 audiodelay: audiodelay.cpp
|
1
|
14 $(CXX) $(CFLAGS) -o $@ audiodelay.cpp -lpthread -lasound -lrtaudio
|
|
15
|
|
16 rtaudio-test: rtaudio-test.cpp
|
|
17 $(CXX) $(CFLAGS) -o $@ rtaudio-test.cpp -lpthread -lasound -lrtaudio
|
0
|
18
|
|
19 clean:
|
|
20 -$(RM) *.o $(PROGRAMS) *~
|
|
21
|
|
22 strip:
|
|
23 strip $(PROGRAMS)
|