2008-12-21 23:57:02 +01:00
|
|
|
# Common variables.
|
|
|
|
|
|
|
|
PREFIX ?= /usr/local
|
2008-12-22 02:14:40 +01:00
|
|
|
SBINDIR ?= $(PREFIX)/sbin
|
2008-12-21 23:57:02 +01:00
|
|
|
LIBDIR ?= $(PREFIX)/lib
|
|
|
|
|
|
|
|
CPPFLAGS += -I../include
|
2008-12-22 05:13:10 +01:00
|
|
|
CFLAGS += -Wstack-protector -fstack-protector-all
|
2008-12-24 10:58:19 +01:00
|
|
|
CFLAGS += -O2 -Wall -Werror -fPIC -DPIC
|