2015-11-28 13:08:54 +00:00
|
|
|
# spt version
|
2016-02-01 00:24:44 +00:00
|
|
|
VERSION = 0.1
|
2015-11-28 13:08:54 +00:00
|
|
|
|
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
2016-07-11 05:26:56 +00:00
|
|
|
|
|
|
|
# libnotify - comment if you don't want it (config.h too)
|
|
|
|
INCS = #-I. -I/usr/include `pkg-config --cflags libnotify`
|
|
|
|
LIBS = #-L/usr/lib `pkg-config --libs libnotify`
|
|
|
|
DEFS = #-DNOTIFY
|
2015-11-28 13:08:54 +00:00
|
|
|
|
|
|
|
# flags
|
|
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
2016-07-11 05:26:56 +00:00
|
|
|
CFLAGS += -g -std=c99 -pedantic -Wall -Os ${INCS} ${DEFS} ${CPPFLAGS}
|
2015-11-28 13:08:54 +00:00
|
|
|
LDFLAGS += -g ${LIBS}
|
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
# CC = cc
|