Mercurial > mplayer.hg
diff mp3lib/Makefile @ 866:91087aaea5c7
using gcc -MM instead of makedepend, make OBJS from SRCS where possible
author | arpi_esp |
---|---|
date | Thu, 24 May 2001 21:09:13 +0000 |
parents | 93304e7353c8 |
children | 6d3a6d42c831 |
line wrap: on
line diff
--- a/mp3lib/Makefile Thu May 24 20:48:45 2001 +0000 +++ b/mp3lib/Makefile Thu May 24 21:09:13 2001 +0000 @@ -3,6 +3,7 @@ SRCS = sr1.c d_cpu.s decode_i586.s $(OPTIONAL_SRCS) OBJS = sr1.o d_cpu.o decode_i586.o $(OPTIONAL_OBJS) +# OBJS = $(SRCS:.c,.s=.o) CFLAGS = $(OPTFLAGS) .SUFFIXES: .c .o @@ -36,7 +37,7 @@ depend: .depend .depend: Makefile config.mak ../config.mak ../config.h - makedepend -f- -- $(CFLAGS) -- $(SRCS) 1>.depend 2>/dev/null + $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend # # include dependency files if they exist