Mercurial > mplayer.hg
diff libmpeg2/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 | 846535ace7a2 |
children | 6d3a6d42c831 |
line wrap: on
line diff
--- a/libmpeg2/Makefile Thu May 24 20:48:45 2001 +0000 +++ b/libmpeg2/Makefile Thu May 24 21:09:13 2001 +0000 @@ -4,7 +4,7 @@ include ../config.mak SRCS = header.c idct.c idct_mmx.c motion_comp.c motion_comp_mmx.c slice.c stats.c decode.c -OBJS = header.o idct.o idct_mmx.o motion_comp.o motion_comp_mmx.o slice.o stats.o decode.o +OBJS = $(SRCS:.c=.o) INCLUDE = -I. -I../libvo -I.. CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY @@ -30,7 +30,7 @@ depend: .depend .depend: Makefile ../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