From 35648100f92a8d9d6d382c6ff9532a86e64a9e0f Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Thu, 24 May 2001 21:09:13 +0000 Subject: using gcc -MM instead of makedepend, make OBJS from SRCS where possible git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@867 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpeg2/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmpeg2') diff --git a/libmpeg2/Makefile b/libmpeg2/Makefile index ccc2e2595a..d6a7f1cfa7 100644 --- a/libmpeg2/Makefile +++ b/libmpeg2/Makefile @@ -4,7 +4,7 @@ LIBNAME = libmpeg2.a 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 @@ dep: depend 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 -- cgit v1.2.3