2007-09-10 12:06:54 +02:00
|
|
|
# awesome version
|
2007-10-25 21:27:25 +02:00
|
|
|
VERSION = $(shell git describe 2>/dev/null || echo devel)
|
2007-10-29 17:16:33 +01:00
|
|
|
RELEASE = "Productivity Breaker"
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
# Customize below to fit your system
|
|
|
|
|
2007-10-25 21:27:25 +02:00
|
|
|
# additional layouts
|
2007-09-21 00:30:32 +02:00
|
|
|
LAYOUTS = layouts/tile.c layouts/floating.c layouts/max.c
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
|
|
|
|
X11INC = /usr/include/X11
|
|
|
|
X11LIB = /usr/lib/X11
|
|
|
|
|
|
|
|
# includes and libs
|
2007-10-10 19:59:14 +02:00
|
|
|
INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfuse xft cairo`
|
|
|
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfuse xft cairo` -lXext -lXrandr -lXinerama
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
# flags
|
2007-10-29 17:16:33 +01:00
|
|
|
CFLAGS = -fgnu89-inline -std=gnu99 -ggdb3 -pipe -Wall -Wextra -W -Wchar-subscripts -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Wuninitialized -Winit-self -Wpointer-arith -Wredundant-decls -Wno-format-zero-length -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\"
|
2007-09-05 20:15:00 +02:00
|
|
|
LDFLAGS = -ggdb3 ${LIBS}
|
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
CC = cc
|