mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
Added missing mathlib for linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@827 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f0d16794b6
commit
754200a4d3
@ -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
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user