[Mplayer-cvslog] CVS: main Makefile,1.30,1.31

GEREOFFY arpi_esp at users.sourceforge.net
Thu May 24 23:09:15 CEST 2001


Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv25295

Modified Files:
	Makefile 
Log Message:
using gcc -MM instead of makedepend, make OBJS from SRCS where possible

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/Makefile,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -r1.30 -r1.31
*** Makefile	2001/05/18 16:14:06	1.30
--- Makefile	2001/05/24 21:09:13	1.31
***************
*** 22,28 ****
  # 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
  CFLAGS = $(OPTFLAGS) -Iloader -Ilibvo $(CSS_INC) # -Wall
  A_LIBS = -Lmp3lib -lMP3 -Llibac3 -lac3
--- 22,26 ----
  # 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
! OBJS = $(SRCS:.c=.o)
  CFLAGS = $(OPTFLAGS) -Iloader -Ilibvo $(CSS_INC) # -Wall
  A_LIBS = -Lmp3lib -lMP3 -Llibac3 -lac3
***************
*** 100,104 ****
  
  .depend: Makefile config.mak config.h
! 	makedepend -f- -- $(CFLAGS) -- mplayer.c mplayerHQ.c aviparse.c tvision.c $(SRCS) 1>.depend 2>/dev/null
  
  # ./configure must be run if it changed in CVS
--- 98,102 ----
  
  .depend: Makefile config.mak config.h
! 	$(CC) -MM $(CFLAGS) mplayer.c $(SRCS) 1>.depend
  
  # ./configure must be run if it changed in CVS


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list