diff options
-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> |