Pay attention to cache behavior, resulting in fast_scale_y being about
[xiph/unicode.git] / xiph-rtp / Makefile
blob166190e99a1d87242a49e041def431e89ea6b943
1 # GNU Makefile for xiph rtp example code
3 CC = gcc -g -O2 -Wall -DCHECK -DDEBUG
4 PROGS = vorbisrtp theorartp vorbisrtp-client theorartp-client
6 vorbisrtp_SRCS = vorbisrtp.c
7 vorbisrtp_PKGS = ogg vorbis
9 theorartp_SRCS = vorbisrtp.c
10 theorartp_PKGS = ogg theora
12 vorbisrtp-client_SRCS = vorbisrtp-client.c
13 vorbisrtp-client_PKGS = ogg vorbis
15 theorartp-client_SRCS = theorartp-client.c
16 theorartp-client_PKGS = ogg
18 all : $(PROGS)
20 clean:
21 -$(RM) *.o
22 -$(RM) $(PROGS)
24 vorbisrtp : vorbisrtp.c xiph_rtp.c
25 $(CC) -o $@ `pkg-config --cflags $($@_PKGS)` \
26 $^ `pkg-config --libs $($@_PKGS)`
28 theorartp : theorartp.c xiph_rtp.c
29 $(CC) -o $@ `pkg-config --cflags $($@_PKGS)` \
30 $^ `pkg-config --libs $($@_PKGS)`
32 vorbisrtp-client : vorbisrtp-client.c
33 $(CC) -o $@ `pkg-config --cflags $($@_PKGS)` \
34 $< `pkg-config --libs $($@_PKGS)`
36 theorartp-client :theorartp-client.c
37 $(CC) -o $@ `pkg-config --cflags $($@_PKGS)` \
38 $< `pkg-config --libs $($@_PKGS)`