23 lines
434 B
Makefile
23 lines
434 B
Makefile
# spt version
|
|
VERSION = 0.1
|
|
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
PREFIX = /usr/local
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
# includes and libs
|
|
INCS = -I. -I/usr/include \
|
|
`pkg-config --cflags libnotify`
|
|
LIBS = -L/usr/lib \
|
|
`pkg-config --libs libnotify`
|
|
|
|
# flags
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
|
CFLAGS += -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
LDFLAGS += -g ${LIBS}
|
|
|
|
# compiler and linker
|
|
# CC = cc
|