Commit b12cb05a authored by Loren Merritt's avatar Loren Merritt

Makefiles: better dependencies for SEI version number


git-svn-id: svn://svn.videolan.org/x264/trunk@190 df754926-b1dd-0310-bc7b-ec298dee348c
parent 90a6fd3e
......@@ -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
......
......@@ -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
......
Markdown is supported
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