# HG changeset patch # User atmosfear # Date 990123614 0 # Node ID 93304e7353c886caab6e9572462977431fe8b6cd # Parent 67fe2eebe5421a0831db5435825f92ffe24e164a Added missing mathlib for linking. diff -r 67fe2eebe542 -r 93304e7353c8 mp3lib/Makefile --- 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 diff -r 67fe2eebe542 -r 93304e7353c8 mp3lib/test.c --- 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 #include diff -r 67fe2eebe542 -r 93304e7353c8 mp3lib/test2.c --- 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 #include