summaryrefslogtreecommitdiffstats
path: root/libmpeg2
diff options
context:
space:
mode:
Diffstat (limited to 'libmpeg2')
-rw-r--r--libmpeg2/Makefile4
1 files changed, 2 insertions, 2 deletions
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