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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
1 PROGRAMS = audiodelay alsacap rtaudio-test
0
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
2 RM = rm -f
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
3
1
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
4 CC = gcc
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
5 CXX = g++
0
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
6 CFLAGS = -O2 -Wall
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
7
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
8 all: $(PROGRAMS)
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
9
1
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
10 alsacap: alsacap.c
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
11 $(CC) $(CFLAGS) -o $@ alsacap.c -lasound
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
12
0
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
13 audiodelay: audiodelay.cpp
1
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
14 $(CXX) $(CFLAGS) -o $@ audiodelay.cpp -lpthread -lasound -lrtaudio
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
15
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
16 rtaudio-test: rtaudio-test.cpp
9cadc470e3da reorganize, add more
pmeerw@pan
parents: 0
diff changeset
17 $(CXX) $(CFLAGS) -o $@ rtaudio-test.cpp -lpthread -lasound -lrtaudio
0
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
18
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
19 clean:
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
20 -$(RM) *.o $(PROGRAMS) *~
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
21
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
22 strip:
deadffdf5d60 import audiodelay
pmeerw@pan
parents:
diff changeset
23 strip $(PROGRAMS)

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.