pomo/config.mk

25 lines
476 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
# 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`
2015-11-28 13:08:54 +00:00
# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"
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