comparison Makefile @ 2929:c3459dcd54ac

mencoder+tv fix - do not rebuild after cvs change for developers
author alex
date Fri, 16 Nov 2001 20:54:53 +0000
parents 2a1a52dc5a5e
children 987c77cbb4de
comparison
equal deleted inserted replaced
2928:3f8798f1f4bc 2929:c3459dcd54ac
19 # BINDIR = /usr/local/bin 19 # BINDIR = /usr/local/bin
20 20
21 # a BSD compatible 'install' program 21 # a BSD compatible 'install' program
22 INSTALL = install 22 INSTALL = install
23 23
24 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 24 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
25 OBJS_MENCODER = $(SRCS_MENCODER:.c=.o) 25 OBJS_MENCODER = $(SRCS_MENCODER:.c=.o)
26 26
27 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 27 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
28 OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o) 28 OBJS_MPLAYER = $(SRCS_MPLAYER:.c=.o)
29 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader -Ilibvo $(EXTRA_INC) $(MADLIB_INC) # -Wall 29 CFLAGS = $(OPTFLAGS) -Ilibmpdemux -Iloader -Ilibvo $(EXTRA_INC) $(MADLIB_INC) # -Wall
195 @echo "############################################################" 195 @echo "############################################################"
196 @echo "####### Please run ./configure again - it's changed! #######" 196 @echo "####### Please run ./configure again - it's changed! #######"
197 @echo "############################################################" 197 @echo "############################################################"
198 @exit 1 198 @exit 1
199 199
200 # do not rebuild after cvs commits if .developer file is present!
201
200 # rebuild at every config.h/config.mak change: 202 # rebuild at every config.h/config.mak change:
201 version.h: config.h config.mak Makefile 203 version.h: config.h config.mak Makefile
202 ./version.sh 204 ./version.sh
205 ifeq ($(wildcard .developer),)
203 $(MAKE) distclean 206 $(MAKE) distclean
207 endif
204 $(MAKE) depend 208 $(MAKE) depend
205 209
206 # rebuild at every CVS update: 210 # rebuild at every CVS update:
211 ifeq ($(wildcard .developer),)
207 ifneq ($(wildcard CVS/Entries),) 212 ifneq ($(wildcard CVS/Entries),)
208 version.h: CVS/Entries 213 version.h: CVS/Entries
214 endif
209 endif 215 endif
210 216
211 # 217 #
212 # include dependency files if they exist 218 # include dependency files if they exist
213 # 219 #