a711ace8f7
--HG-- extra : convert_revision : 91ed9643631589256bc4a9b4b230292ee0049d48
12 lines
283 B
Makefile
12 lines
283 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 += -O2 -Wall -Wextra -Werror -fPIC -DPIC
|