From: Loren Merritt Date: Sun, 10 Apr 2005 23:35:01 +0000 (+0000) Subject: Makefiles: better dependencies for SEI version number X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b12cb05a8fee91c50dc3d1d3c2569a801cc1a5e3;p=libx264 Makefiles: better dependencies for SEI version number git-svn-id: svn://svn.videolan.org/x264/trunk@190 df754926-b1dd-0310-bc7b-ec298dee348c --- 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