[Mplayer-cvslog] CVS: main/mp3lib Makefile,1.4,1.5 test.c,1.2,1.3 test2.c,1.1,1.2
Felix Buenemann
atmosfear at users.sourceforge.net
Thu May 17 20:20:16 CEST 2001
Update of /cvsroot/mplayer/main/mp3lib
In directory usw-pr-cvs1:/tmp/cvs-serv15329
Modified Files:
Makefile test.c test2.c
Log Message:
Added missing mathlib for linking.
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Makefile 2001/05/13 19:18:52 1.4
--- Makefile 2001/05/17 18:20:14 1.5
***************
*** 20,27 ****
test1: libMP3.a test.c
! $(CC) $(CFLAGS) test.c -o test1 -I.. -L. -lMP3
test2: libMP3.a test2.c
! $(CC) $(CFLAGS) test2.c -o test2 -I.. -L. -lMP3
all: libMP3.a
--- 20,27 ----
test1: libMP3.a test.c
! $(CC) $(CFLAGS) test.c -o test1 -I.. -L. -lMP3 -lm
test2: libMP3.a test2.c
! $(CC) $(CFLAGS) test2.c -o test2 -I.. -L. -lMP3 -lm
all: libMP3.a
Index: test.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test.c 2001/05/16 22:23:13 1.2
--- test.c 2001/05/17 18:20:14 1.3
***************
*** 2,6 ****
#define DUMP_PCM
! // gcc test.c -I.. -L. -lMP3 -o test -O4
#include <stdio.h>
--- 2,6 ----
#define DUMP_PCM
! // gcc test.c -I.. -L. -lMP3 -lm -o test1 -O4
#include <stdio.h>
Index: test2.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/test2.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test2.c 2001/05/13 19:18:52 1.1
--- test2.c 2001/05/17 18:20:14 1.2
***************
*** 1,4 ****
! // gcc test.c -I.. -L. -lMP3 -o test -O4
#include <stdio.h>
--- 1,4 ----
! // gcc test.c -I.. -L. -lMP3 -lm -o test2 -O4
#include <stdio.h>
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list