7e48132dde
--HG-- extra : convert_revision : a0daf5c9d6bf623d3a35c5e2195cc7adaa3ed753
13 lines
302 B
Makefile
13 lines
302 B
Makefile
# Common variables.
|
|
|
|
PREFIX ?= /usr/local
|
|
SBINDIR ?= $(PREFIX)/sbin
|
|
LIBDIR ?= $(PREFIX)/lib
|
|
ETCDIR ?= $(PREFIX)/etc
|
|
TOPDIR ?= ..
|
|
|
|
LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX)/lib -lxbps
|
|
CPPFLAGS += -I$(TOPDIR)/include
|
|
CFLAGS += -Wstack-protector -fstack-protector-all
|
|
CFLAGS += -O2 -Wall -Werror -fPIC -DPIC
|