SRCS must be set using := or things break when ASM_OBJS is added to OBJS
authorMåns Rullgård <mans@mansr.com>
Mon, 27 Feb 2006 02:47:05 +0000 (02:47 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 27 Feb 2006 02:47:05 +0000 (02:47 +0000)
Originally committed as revision 5069 to svn://svn.ffmpeg.org/ffmpeg/trunk

common.mak

index e09cadd0c8600652c3d176108d4d4eea7215f344..3bcf1e96e66d030521536254a14f4b8af7f33065 100644 (file)
@@ -19,7 +19,7 @@ ifeq ($(TARGET_ARCH_SPARC64),yes)
 CFLAGS+= -mcpu=ultrasparc -mtune=ultrasparc
 endif
 
-SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
+SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
 OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
 STATIC_OBJS := $(OBJS) $(STATIC_OBJS)
 SHARED_OBJS := $(OBJS) $(SHARED_OBJS)