[MPlayer-cvslog] r21263 - trunk/libmpdemux/Makefile

diego subversion at mplayerhq.hu
Sun Nov 26 14:04:14 CET 2006


Author: diego
Date: Sun Nov 26 14:04:14 2006
New Revision: 21263

Modified:
   trunk/libmpdemux/Makefile

Log:
Simplify, remove useless indirection.


Modified: trunk/libmpdemux/Makefile
==============================================================================
--- trunk/libmpdemux/Makefile	(original)
+++ trunk/libmpdemux/Makefile	Sun Nov 26 14:04:14 2006
@@ -100,15 +100,14 @@
 endif
 
 ifeq ($(STREAMING_LIVE555),yes)
-CPLUSPLUSSRCS = demux_rtp.cpp demux_rtp_codec.cpp
+SRCS += demux_rtp.cpp demux_rtp_codec.cpp
 endif
 
 OBJS	= $(SRCS:.c=.o)
-OBJS   += $(CPLUSPLUSSRCS:.cpp=.o)
+OBJS   += $(SRCS:.cpp=.o)
 INCLUDE = -I.. -I../stream -I../loader $(LIBAV_INC)
 CFLAGS  = $(INCLUDE) $(OPTFLAGS)
 CPLUSPLUSFLAGS  = $(CFLAGS) -D__STDC_LIMIT_MACROS
-CPLUSPLUS = $(CC)
 
 .SUFFIXES: .c .cpp .o
 
@@ -119,7 +118,7 @@
 .c.o:
 	$(CC) -c $(CFLAGS) -o $@ $<
 .cpp.o:
-	$(CPLUSPLUS) -c $(CPLUSPLUSFLAGS) -o $@ $<
+	$(CC) -c $(CPLUSPLUSFLAGS) -o $@ $<
 
 $(LIBNAME):	$(OBJS)
 	$(AR) r $(LIBNAME) $(OBJS)



More information about the MPlayer-cvslog mailing list