2009-05-10 06:48:16 -04:00
|
|
|
# i3lock version
|
|
|
|
VERSION = 1.0
|
2009-03-11 17:17:00 -04:00
|
|
|
|
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr
|
|
|
|
|
|
|
|
X11INC = /usr/X11R6/include
|
|
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
|
2009-03-11 18:44:39 -04:00
|
|
|
MANDIR = $(DESTDIR)$(PREFIX)/share/man
|
|
|
|
|
2009-03-11 17:17:00 -04:00
|
|
|
# includes and libs
|
|
|
|
INCS = -I. -I/usr/include -I${X11INC}
|
2009-06-19 18:52:55 -04:00
|
|
|
LIBS = -L${X11LIB} -lX11 -lpam -lXext -lXpm
|
2009-03-11 17:17:00 -04:00
|
|
|
|
|
|
|
# flags
|
2009-05-10 06:48:16 -04:00
|
|
|
CPPFLAGS = -DVERSION=\"${VERSION}\"
|
2009-03-11 17:17:00 -04:00
|
|
|
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
|
|
LDFLAGS = -s ${LIBS}
|
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
CC = cc
|
|
|
|
INSTALL=install
|