Mercurial > hg > audiostuff
annotate Makefile @ 6:22a74b01a099 default tip
implement more meaningful test program
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Fri, 25 Jun 2010 16:14:50 +0200 |
parents | 9cadc470e3da |
children |
rev | line source |
---|---|
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) |