Commit 04557605 authored by Loren Merritt's avatar Loren Merritt
Browse files

173 broke .depend when debugging was enabled


git-svn-id: svn://svn.videolan.org/x264/trunk@176 df754926-b1dd-0310-bc7b-ec298dee348c
parent bf7f679c
...@@ -25,12 +25,12 @@ CFLAGS+=-s -DNDEBUG ...@@ -25,12 +25,12 @@ CFLAGS+=-s -DNDEBUG
else else
CFLAGS+=-g -DDEBUG CFLAGS+=-g -DDEBUG
endif endif
SRCS= $(SRCS_COMMON)
# MMX/SSE optims # MMX/SSE optims
ifeq ($(ARCH),X86) ifeq ($(ARCH),X86)
CFLAGS+=-DHAVE_MMXEXT -DHAVE_SSE2 CFLAGS+=-DHAVE_MMXEXT -DHAVE_SSE2
SRCS= $(SRCS_COMMON) common/i386/mc-c.c common/i386/dct-c.c \ SRCS+= common/i386/mc-c.c common/i386/dct-c.c common/i386/predict.c
common/i386/predict.c
ASMSRC= common/i386/dct-a.asm common/i386/cpu-a.asm \ ASMSRC= common/i386/dct-a.asm common/i386/cpu-a.asm \
common/i386/pixel-a.asm common/i386/mc-a.asm common/i386/pixel-a.asm common/i386/mc-a.asm
OBJASM= $(ASMSRC:%.asm=%.o) OBJASM= $(ASMSRC:%.asm=%.o)
...@@ -43,7 +43,7 @@ CFLAGS+=-faltivec ...@@ -43,7 +43,7 @@ CFLAGS+=-faltivec
else else
CFLAGS+=-maltivec -mabi=altivec CFLAGS+=-maltivec -mabi=altivec
endif endif
SRCS= $(SRCS_COMMON) common/ppc/mc.c common/ppc/pixel.c SRCS+= common/ppc/mc.c common/ppc/pixel.c
endif endif
# stdint.h: everyone but BeOS # stdint.h: everyone but BeOS
...@@ -93,7 +93,7 @@ checkasm: testing/checkasm.c libx264.a ...@@ -93,7 +93,7 @@ checkasm: testing/checkasm.c libx264.a
.depend: $(SRCS) x264.c .depend: $(SRCS) x264.c
rm -f .depend rm -f .depend
# Hacky - because gcc 2.9x doesn't have -MT # Hacky - because gcc 2.9x doesn't have -MT
$(foreach SRC, $(SRCS) x264.c, ( echo -n "`dirname $(SRC)`/" && $(CC) $(CFLAGS) $(SRC) -MM ) 1>> .depend;) $(foreach SRC, $(SRCS) x264.c, ( echo -n "`dirname $(SRC)`/" && $(CC) $(CFLAGS) $(SRC) -MM -g0 ) 1>> .depend;)
depend: .depend depend: .depend
ifneq ($(wildcard .depend),) ifneq ($(wildcard .depend),)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment