doc/examples: link decoding_encoding and muxing with math lib.

These two examples use the sin() function.
This commit is contained in:
Clément Bœsch 2012-05-09 23:06:43 +02:00
parent 9a19341e6e
commit 2f197a20cf

View File

@ -17,6 +17,10 @@ EXAMPLES= decoding_encoding \
OBJS=$(addsuffix .o,$(EXAMPLES))
# the following examples make explicit use of the math library
decoding_encoding: LDLIBS += -lm
muxing: LDLIBS += -lm
%: %.o
$(CC) $< $(LDLIBS) -o $@