adt/xmalloc.c \
ast.c \
ast2firm.c \
- config.h \
diagnostic.c \
entitymap.c \
format_check.c \
%.h:
@true
-.depend: $(SOURCES)
- @echo "#define cparser_REVISION \"`svnversion -n .`\"" > .revision.h
+REVISION ?= $(shell svnversion -n .)
+
+.depend: config.h $(SOURCES)
+ @echo "#define cparser_REVISION \"$(REVISION)\"" > .revision.h
$(Q)if diff -Nq .revision.h revision.h > /dev/null; then \
rm .revision.h; \
else \