changeset 826:93304e7353c8

Added missing mathlib for linking.
author atmosfear
date Thu, 17 May 2001 18:20:14 +0000
parents 67fe2eebe542
children 7f68071a0314
files mp3lib/Makefile mp3lib/test.c mp3lib/test2.c
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/Makefile	Thu May 17 16:40:29 2001 +0000
+++ b/mp3lib/Makefile	Thu May 17 18:20:14 2001 +0000
@@ -19,10 +19,10 @@
 	$(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
 
--- a/mp3lib/test.c	Thu May 17 16:40:29 2001 +0000
+++ b/mp3lib/test.c	Thu May 17 18:20:14 2001 +0000
@@ -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>
--- a/mp3lib/test2.c	Thu May 17 16:40:29 2001 +0000
+++ b/mp3lib/test2.c	Thu May 17 18:20:14 2001 +0000
@@ -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>