Browse Source

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

These two examples use the sin() function.
tags/n0.11
Clément Bœsch 14 years ago
parent
commit
2f197a20cf
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      doc/examples/Makefile

+ 4
- 0
doc/examples/Makefile 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 $@



Loading…
Cancel
Save