make: allow to overwrite CFLAGS, CCACHE
commit255698e00c6200be70b6e72eec76c154249ac581
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 10 May 2013 15:22:05 +0000 (10 17:22 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Fri, 10 May 2013 15:22:05 +0000 (10 17:22 +0200)
tree2fd0c1befa221e2d74a9189e1645576f36a59ca4
parentb435a7a1b3fa6eec367d9b48a1f9b9cf13d617fa
make: allow to overwrite CFLAGS, CCACHE

Allow to define custom compile flags, e.g. ...

  make CFLAGS="-O2 -Wall"

... and also allow to overwrite ccache variable:

  make CCACHE= all

Also do some minor fixes when built with -O2 -Wall.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Makefile
locking.h
pcap_io.h