aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/Makefile
diff options
context:
space:
mode:
authorGravatar arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-24 21:09:13 +0000
committerGravatar arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-24 21:09:13 +0000
commit35648100f92a8d9d6d382c6ff9532a86e64a9e0f (patch)
treea3a1e6d8a2aac3ce62f18c4e35d736049b354207 /libvo/Makefile
parent6daab845eac976d0b342fa9a3be954b64d5c09aa (diff)
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
Diffstat (limited to 'libvo/Makefile')
-rw-r--r--libvo/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/Makefile b/libvo/Makefile
index bc0087c5e4..adbef9a515 100644
--- a/libvo/Makefile
+++ b/libvo/Makefile
@@ -4,7 +4,7 @@ include config.mak
LIBNAME = libvo.a
SRCS=aclib.c osd.c font_load.c rgb15to16mmx.c yuv2rgb_mmx.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_odivx.c x11_common.c $(OPTIONAL_SRCS)
-OBJS=aclib.o osd.o font_load.o rgb15to16mmx.o yuv2rgb_mmx.o yuv2rgb.o video_out.o vo_null.o vo_pgm.o vo_md5.o vo_odivx.o x11_common.o $(OPTIONAL_OBJS)
+OBJS=$(SRCS:.c=.o)
CFLAGS = $(OPTFLAGS) -I. -I.. -DMPG12PLAY
# -I/usr/X11R6/include/
@@ -31,7 +31,7 @@ dep: depend
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