History

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

These two examples use the sin() function.

Clément Bœsch committed 14 years ago

Commit 2f197a21 parent 9a193411 file · +4 −0Browse files

Unified · Split

doc/examples/Makefile+4−0
@@ -17,6 +17,10 @@ EXAMPLES= decoding_encoding \ · 16 unmodified lines
1717
1818 OBJS=$(addsuffix .o,$(EXAMPLES))
1919
20+# the following examples make explicit use of the math library
21+decoding_encoding: LDLIBS += -lm
22+muxing: LDLIBS += -lm
23+
2024 %: %.o
2125 $(CC) $< $(LDLIBS) -o $@
2226

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t