summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-24 21:09:13 +0000
committerarpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-24 21:09:13 +0000
commit35648100f92a8d9d6d382c6ff9532a86e64a9e0f (patch)
treea3a1e6d8a2aac3ce62f18c4e35d736049b354207 /Makefile
parent6daab845eac976d0b342fa9a3be954b64d5c09aa (diff)
downloadmpv-35648100f92a8d9d6d382c6ff9532a86e64a9e0f.tar.bz2
mpv-35648100f92a8d9d6d382c6ff9532a86e64a9e0f.tar.xz
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 'Makefile')
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c2a28e606e..ac9dcbc5b1 100644
--- a/Makefile
+++ b/Makefile
@@ -21,9 +21,7 @@ prefix = /usr/local
BINDIR = ${prefix}/bin
# BINDIR = /usr/local/bin
SRCS = asf_streaming.c find_sub.c aviprint.c dll_init.c dec_audio.c aviwrite.c aviheader.c asfheader.c demux_avi.c demux_asf.c demux_mpg.c demuxer.c stream.c codec-cfg.c subreader.c linux/getch2.c linux/timer-lx.c linux/shmem.c xa/xa_gsm.c lirc_mp.c cfgparser.c mixer.c dvdauth.c spudec.c
-#BB: IMHO It's simplier to use the following rule:
-#OBJS = $(SRCS:.c=.o)
-OBJS = asf_streaming.o find_sub.o aviprint.o dll_init.o dec_audio.o aviwrite.o aviheader.o asfheader.o demux_avi.o demux_asf.o demux_mpg.o demuxer.o stream.o codec-cfg.o subreader.o linux/getch2.o linux/timer-lx.o linux/shmem.o xa/xa_gsm.o lirc_mp.o cfgparser.o mixer.o dvdauth.o spudec.o
+OBJS = $(SRCS:.c=.o)
CFLAGS = $(OPTFLAGS) -Iloader -Ilibvo $(CSS_INC) # -Wall
A_LIBS = -Lmp3lib -lMP3 -Llibac3 -lac3
VO_LIBS = -Llibvo -lvo $(X_LIBS)
@@ -99,7 +97,7 @@ depend: .depend
@for a in mp3lib libac3 libmpeg2 libvo opendivx encore loader/DirectShow ; do $(MAKE) -C $$a dep ; done
.depend: Makefile config.mak config.h
- makedepend -f- -- $(CFLAGS) -- mplayer.c mplayerHQ.c aviparse.c tvision.c $(SRCS) 1>.depend 2>/dev/null
+ $(CC) -MM $(CFLAGS) mplayer.c $(SRCS) 1>.depend
# ./configure must be run if it changed in CVS
config.h: configure