61f0b09698
This implementation will be faster and resolv the dependency chain correctly taking into account indirect/direct deps and priority. --HG-- extra : convert_revision : cc4ec186f06f944fa8825b176344c4d612658f85
13 lines
298 B
Makefile
13 lines
298 B
Makefile
# Common variables.
|
|
|
|
PREFIX ?= /usr/local
|
|
SBINDIR ?= $(PREFIX)/sbin
|
|
LIBDIR ?= $(PREFIX)/lib
|
|
ETCDIR ?= $(PREFIX)/etc
|
|
TOPDIR ?= ..
|
|
|
|
LDFLAGS += -L$(TOPDIR)/lib -L$(PREFIX) -lxbps
|
|
CPPFLAGS += -I$(TOPDIR)/include
|
|
CFLAGS += -Wstack-protector -fstack-protector-all
|
|
CFLAGS += -O2 -Wall -Werror -fPIC -DPIC
|