23 lines
411 B
Makefile
23 lines
411 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
|
|
|
|
# OpenBSD (uncomment)
|
|
#OSSLIBS = -lossaudio
|
|
|
|
# flags
|
|
CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
|
|
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
|
|
LDFLAGS = -L$(X11LIB) -s
|
|
LDLIBS = -lX11 ${OSSLIBS}
|
|
|
|
# compiler and linker
|
|
CC = cc
|