]> granicus.if.org Git - libx264/commitdiff
Makefiles: better dependencies for SEI version number
authorLoren Merritt <pengvado@videolan.org>
Sun, 10 Apr 2005 23:35:01 +0000 (23:35 +0000)
committerLoren Merritt <pengvado@videolan.org>
Sun, 10 Apr 2005 23:35:01 +0000 (23:35 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@190 df754926-b1dd-0310-bc7b-ec298dee348c

Makefile
build/cygwin/Makefile

index b2a85d5c88e449a237ebfc22833761c185a3d48d..ca1e066b0d09d43efa42c5c683ff5dda65ffdfa2 100644 (file)
--- 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
index 70d7b8dd6037408f5ac935e785e7a0e4726ef356..7a39d1addf89ae52076aed4fc02fefc14b4c3795 100644 (file)
@@ -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