# 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
@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