Mercurial > mplayer.hg
diff mp3lib/Makefile @ 8543:60fe896e437c
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
author | arpi |
---|---|
date | Tue, 24 Dec 2002 00:05:43 +0000 |
parents | 9edd9060e955 |
children | 60d144a16088 |
line wrap: on
line diff
--- a/mp3lib/Makefile Mon Dec 23 22:13:46 2002 +0000 +++ b/mp3lib/Makefile Tue Dec 24 00:05:43 2002 +0000 @@ -27,9 +27,14 @@ # .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 @@ 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