From 2f197a20cf4277aa86d6a22363064f7ed3318bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 9 May 2012 23:06:43 +0200 Subject: [PATCH] doc/examples: link decoding_encoding and muxing with math lib. These two examples use the sin() function. --- doc/examples/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/examples/Makefile b/doc/examples/Makefile index 99c04ffda5..9bb68ae894 100644 --- a/doc/examples/Makefile +++ b/doc/examples/Makefile @@ -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 $@