From e12f387870ff1bc1356e0dd514870c06b24aa2c2 Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 24 Dec 2002 00:05:43 +0000 Subject: 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 --- mp3lib/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mp3lib/Makefile') 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 -- cgit v1.2.3