antirez/redis — pull request #456 by pietern (2012-04-14 01:12:48+00:00)
Title: Persist Makefile flags (unstable)

A common pattern for building and installing Redis is:

```
$ make 32bit
$ make install PREFIX=/tmp/whatever
```

This is not possible now, as changes in some flags may trigger a rebuild. The rebuild is triggered because a change in ARCH / CFLAGS / LDFLAGS / etc requires dependencies to be updated.

This change persists the flags, so they remain the same across runs. When any of the flags change, everything will be rebuilt.

The 2.6 version of this PR is #455.