VERSIONGEN ?= $$PWD/../VERSION-GEN

all: headers

headers: version.h

version.h: FORCE
	@if ! test -f $@ ||					\
	    test "$(DONT_CLOBBER_VERSION_FILE)" = ""; then	\
	    $(VERSIONGEN);					\
	fi

clean:
	@if test "$(DONT_CLOBBER_VERSION_FILE)" = ""; then	\
	    echo "rm -f  version.h";				\
	    rm -f version.h;					\
	fi

install: ;

.PHONY: all headers clean install FORCE

