4b71980933
- Minor fix, sigemptyset(&emptymask) - Mostly consists of major code changes. Great thanks to Simon Lieb (pips-) for his help.
25 lines
501 B
Makefile
25 lines
501 B
Makefile
# spt version
|
|
VERSION = 0.4
|
|
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
INCS = -I. -I/usr/include
|
|
LIBS = -L/usr/lib
|
|
|
|
# libnotify, comment if you don't want it
|
|
DEFS = -DNOTIFY
|
|
INCS+= `pkg-config --cflags libnotify`
|
|
LIBS+= `pkg-config --libs libnotify`
|
|
|
|
# flags
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=199309
|
|
CFLAGS += -g -std=c99 -pedantic -Wall -Os ${INCS} ${DEFS} ${CPPFLAGS}
|
|
LDFLAGS += -g ${LIBS}
|
|
|
|
# compiler and linker
|
|
CC ?= cc
|