summaryrefslogtreecommitdiffstats
path: root/mp3lib/Makefile
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-24 00:05:43 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-12-24 00:05:43 +0000
commite12f387870ff1bc1356e0dd514870c06b24aa2c2 (patch)
tree32599635c88fa0bf43c64db640fb571659ece2eb /mp3lib/Makefile
parent6ebd5ba5f32a573b422e73390d5b4761afdc3bf4 (diff)
downloadmpv-e12f387870ff1bc1356e0dd514870c06b24aa2c2.tar.bz2
mpv-e12f387870ff1bc1356e0dd514870c06b24aa2c2.tar.xz
decode_i586.c version uses %ebp for its own use, so:
- we need to compile this with -fomit-frame-pointer or we cannot access the function parameters - we need to save & restore %ebp, or we'll destroy the caller's stack ptr git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8544 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/Makefile')
-rw-r--r--mp3lib/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mp3lib/Makefile b/mp3lib/Makefile
index f56d2ffd7f..4a7737a2e2 100644
--- a/mp3lib/Makefile
+++ b/mp3lib/Makefile
@@ -27,9 +27,14 @@ endif
# .PHONY: all clean
+all: libMP3.a
+
.c.o:
$(CC) -c $(CFLAGS) -o $@ $<
+decode_i586.o: decode_i586.c
+ $(CC) -c $(CFLAGS) -fomit-frame-pointer -o $@ $<
+
.s.o:
$(CC) -c $(CFLAGS) -o $@ $<
@@ -47,8 +52,6 @@ test1: libMP3.a test.c
test2: libMP3.a test2.c
$(CC) $(CFLAGS) test2.c ../libvo/aclib.c -o test2 -I.. ./libMP3.a ../mp_msg-mencoder.o ../cpudetect.o -lm
-all: libMP3.a
-
clean:
rm -f *~ *.o *.a