1
0
slstatus/config.mk

23 lines
456 B
Makefile
Raw Normal View History

2017-08-10 21:32:10 +02:00
# slstatus version
2023-07-04 20:47:18 +02:00
VERSION = 1.0
2017-12-03 01:40:38 +01:00
# customize below to fit your system
2017-08-10 21:32:10 +02:00
2017-12-03 01:40:38 +01:00
# paths
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
2016-09-05 00:40:47 +02:00
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
2017-08-10 21:32:10 +02:00
# flags
CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\"
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os
LDFLAGS = -L$(X11LIB) -s
# OpenBSD: add -lsndio
# FreeBSD: add -lkvm -lsndio
LDLIBS = -lX11
# compiler and linker
CC = cc