pomo/config.mk

23 lines
543 B
Makefile
Raw Normal View History

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
2016-05-03 00:29:46 +00:00
#USE_LIBNOTIFY = -DUSE_LIBNOTIFY
#LIBNOTIFY_CFLAGS = `pkg-config --cflags libnotify`
#LIBNOTIFY_LIBS = `pkg-config --libs libnotify`
2015-11-28 13:08:54 +00:00
# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
# includes and libs
2016-05-03 00:29:46 +00:00
INCS = -I. -I/usr/include ${USE_LIBNOTIFY} ${LIBNOTIFY_CFLAGS}
LIBS = -L/usr/lib ${LIBNOTIFY_LIBSS}
2015-11-28 13:08:54 +00:00
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"
2016-02-01 00:24:44 +00:00
CFLAGS += -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
2015-11-28 13:08:54 +00:00
LDFLAGS += -g ${LIBS}
# compiler and linker
# CC = cc