diff options
author | Guillem Jover <guillem@hadrons.org> | 2008-07-12 07:53:03 +0300 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2008-07-12 08:09:09 +0300 |
commit | 2729ca824d2c277bd1e32cebfe43739996705087 (patch) | |
tree | a427f86f5bd199e5527dcd5322cdfcfe70af0d94 | |
parent | 83210a83a4a13115ce653ec5f1419279a63191f7 (diff) | |
download | libbsd-2729ca824d2c277bd1e32cebfe43739996705087.tar.gz |
Define default CFLAGS overridable by the environment
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -65,6 +65,9 @@ LIB_MANS := $(patsubst %,man/%,$(LIB_MANS)) LIB_STATIC_OBJS := $(LIB_SRCS:%.c=%.o) LIB_SHARED_OBJS := $(LIB_SRCS:%.c=%.lo) +# Set default value for compilation +CFLAGS ?= -g -Wall -Wextra -Wno-unused-variable + MK_CFLAGS := -Iinclude/ -include bsd/bsd.h -D_GNU_SOURCE -D__REENTRANT prefix := /usr |