mirror of
https://github.com/pikami/slstatus.git
synced 2024-12-11 20:55:41 +00:00
24b663d657
Be consistent with brackets and add a comment for OpenBSD to make it clearer what the actual intent of the uncommented line is. In the Makefile, add a dependency of slstatus.o from config.mk.
22 lines
381 B
Makefile
22 lines
381 B
Makefile
# slstatus version
|
|
VERSION = 0
|
|
|
|
# customize below to fit your system
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
MANPREFIX = $(PREFIX)/share/man
|
|
|
|
X11INC = /usr/X11R6/include
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
# flags
|
|
CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
|
|
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
|
|
LDFLAGS = -L$(X11LIB) -s
|
|
# OpenBSD: add -lossaudio
|
|
LDLIBS = -lX11
|
|
|
|
# compiler and linker
|
|
CC = cc
|