mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-18 07:07:01 +02:00
- Remove lib/info.c that doesn't belong in the lib and add it into the bins. - Every binary now uses its own directory on bin/. This is in preparation for future changes for correct behaviour of the library and binaries. --HG-- extra : convert_revision : 880d16378bf940c4f5478de0362afe883cd5fd2c
11 lines
278 B
Makefile
11 lines
278 B
Makefile
# Common variables.
|
|
|
|
PREFIX ?= /usr/local
|
|
SBINDIR ?= $(PREFIX)/sbin
|
|
LIBDIR ?= $(PREFIX)/lib
|
|
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
|