diff options
author | atmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-05-17 18:20:14 +0000 |
---|---|---|
committer | atmosfear <atmosfear@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-05-17 18:20:14 +0000 |
commit | 754200a4d300bdfc27f0ab85705d3380b92be050 (patch) | |
tree | 5ea662fe7ab99545c0e5fe3b5fc7686b7af3e057 /mp3lib | |
parent | f0d16794b66a002b10758967087ef81591e86a2e (diff) |
Added missing mathlib for linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@827 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib')
-rw-r--r-- | mp3lib/Makefile | 4 | ||||
-rw-r--r-- | mp3lib/test.c | 2 | ||||
-rw-r--r-- | mp3lib/test2.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mp3lib/Makefile b/mp3lib/Makefile index 575a0756ba..c206feee09 100644 --- a/mp3lib/Makefile +++ b/mp3lib/Makefile @@ -19,10 +19,10 @@ libMP3.a: .depend $(OBJS) $(AR) r libMP3.a $(OBJS) test1: libMP3.a test.c - $(CC) $(CFLAGS) test.c -o test1 -I.. -L. -lMP3 + $(CC) $(CFLAGS) test.c -o test1 -I.. -L. -lMP3 -lm test2: libMP3.a test2.c - $(CC) $(CFLAGS) test2.c -o test2 -I.. -L. -lMP3 + $(CC) $(CFLAGS) test2.c -o test2 -I.. -L. -lMP3 -lm all: libMP3.a diff --git a/mp3lib/test.c b/mp3lib/test.c index 67bf098c5e..3495da579a 100644 --- a/mp3lib/test.c +++ b/mp3lib/test.c @@ -1,7 +1,7 @@ #define DUMP_PCM -// gcc test.c -I.. -L. -lMP3 -o test -O4 +// gcc test.c -I.. -L. -lMP3 -lm -o test1 -O4 #include <stdio.h> #include <stdlib.h> diff --git a/mp3lib/test2.c b/mp3lib/test2.c index 103b7ce17f..e520ddfc7d 100644 --- a/mp3lib/test2.c +++ b/mp3lib/test2.c @@ -1,5 +1,5 @@ -// gcc test.c -I.. -L. -lMP3 -o test -O4 +// gcc test.c -I.. -L. -lMP3 -lm -o test2 -O4 #include <stdio.h> #include <stdlib.h> |