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