From b12cb05a8fee91c50dc3d1d3c2569a801cc1a5e3 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Sun, 10 Apr 2005 23:35:01 +0000 Subject: [PATCH] Makefiles: better dependencies for SEI version number git-svn-id: svn://svn.videolan.org/x264/trunk@190 df754926-b1dd-0310-bc7b-ec298dee348c --- Makefile | 2 +- build/cygwin/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b2a85d5c..ca1e066b 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,7 @@ checkasm: testing/checkasm.c libx264.a # Hacky - because gcc 2.9x doesn't have -MT $(foreach SRC, $(SRCS) x264.c, ( echo -n "`dirname $(SRC)`/" && $(CC) $(CFLAGS) $(SRC) -MM -g0 ) 1>> .depend;) -config.h: $(wildcard .svn/entries */.svn/entries) +config.h: $(wildcard .svn/entries */.svn/entries */*/.svn/entries) ./version.sh depend: .depend diff --git a/build/cygwin/Makefile b/build/cygwin/Makefile index 70d7b8dd..7a39d1ad 100644 --- a/build/cygwin/Makefile +++ b/build/cygwin/Makefile @@ -98,8 +98,8 @@ $(DIR_BUILD): @mkdir -p $(DIR_BUILD)/$(@D) @$(CC) $(CFLAGS) -c -o $(DIR_BUILD)/$@ $< -encoder/set.c: config.h -config.h: +encoder/set.obj: config.h +config.h: $(wildcard $(DIR_SRC)/.svn/entries $(DIR_SRC)/*/.svn/entries $(DIR_SRC)/*/*/.svn/entries) @echo " C: $@" @cd $(DIR_SRC) && \ ./version.sh -- 2.40.0