summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-16 20:54:53 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-16 20:54:53 +0000
commitf0226580e8390aed86bb6ca47c1dd4160713aff6 (patch)
tree9a9778b3f4ccc243adffae255de498a3ec53ac1b /Makefile
parent9fc1c333f729d2938e453546715aec398a0d728f (diff)
downloadmpv-f0226580e8390aed86bb6ca47c1dd4160713aff6.tar.bz2
mpv-f0226580e8390aed86bb6ca47c1dd4160713aff6.tar.xz
mencoder+tv fix - do not rebuild after cvs change for developers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2930 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0a9ec0455..f88d06afa8 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ BINDIR = ${prefix}/bin
# a BSD compatible 'install' program
INSTALL = install
-SRCS_MENCODER = divx4_vbr.c mencoder.c libvo/aclib.c libvo/img_format.c ima4.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c dec_video.c msvidc.c codec-cfg.c cfgparser.c
+SRCS_MENCODER = libao2/afmt.c divx4_vbr.c mencoder.c libvo/aclib.c libvo/img_format.c ima4.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c dec_audio.c dec_video.c msvidc.c codec-cfg.c cfgparser.c my_profile.c
OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
SRCS_MPLAYER = mplayer.c ima4.c xacodec.c cpudetect.c mp_msg.c ac3-iec958.c find_sub.c dec_audio.c dec_video.c msvidc.c codec-cfg.c subreader.c lirc_mp.c cfgparser.c mixer.c spudec.c my_profile.c
@@ -197,16 +197,22 @@ config.h: configure
@echo "############################################################"
@exit 1
+# do not rebuild after cvs commits if .developer file is present!
+
# rebuild at every config.h/config.mak change:
version.h: config.h config.mak Makefile
./version.sh
+ifeq ($(wildcard .developer),)
$(MAKE) distclean
+endif
$(MAKE) depend
# rebuild at every CVS update:
+ifeq ($(wildcard .developer),)
ifneq ($(wildcard CVS/Entries),)
version.h: CVS/Entries
endif
+endif
#
# include dependency files if they exist