doc/examples: link decoding_encoding and muxing with math lib.
These two examples use the sin() function.
This commit is contained in:
@@ -17,6 +17,10 @@ EXAMPLES= decoding_encoding \
|
|||||||
|
|
||||||
OBJS=$(addsuffix .o,$(EXAMPLES))
|
OBJS=$(addsuffix .o,$(EXAMPLES))
|
||||||
|
|
||||||
|
# the following examples make explicit use of the math library
|
||||||
|
decoding_encoding: LDLIBS += -lm
|
||||||
|
muxing: LDLIBS += -lm
|
||||||
|
|
||||||
%: %.o
|
%: %.o
|
||||||
$(CC) $< $(LDLIBS) -o $@
|
$(CC) $< $(LDLIBS) -o $@
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user