Set the result type of !, even if the operand type is not scalar.
[cparser] / Makefile
index 017f797..34b231f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,6 @@ SOURCES := \
        adt/xmalloc.c \
        ast.c \
        ast2firm.c \
-       config.h \
        diagnostic.c \
        entitymap.c \
        format_check.c \
@@ -75,8 +74,10 @@ config.h:
 %.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                                                 \