diff libmpdemux/Makefile @ 21247:c0400a8091a8

Simplify, remove useless indirection.
author diego
date Sun, 26 Nov 2006 13:04:14 +0000
parents 68df3b19a160
children 92b122592776
line wrap: on
line diff
--- a/libmpdemux/Makefile	Sun Nov 26 13:02:02 2006 +0000
+++ b/libmpdemux/Makefile	Sun Nov 26 13:04:14 2006 +0000
@@ -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)