2007-09-10 12:06:54 +02:00
|
|
|
# awesome version
|
2007-10-08 14:27:48 +02:00
|
|
|
VERSION = devel
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
# additional layouts beside floating
|
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-01 19:22:57 +02:00
|
|
|
INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfig xft`
|
|
|
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfig xft` -lXext -lXrandr -lXinerama
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
# flags
|
2007-09-16 15:06:58 +02: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}\"
|
2007-09-05 20:15:00 +02:00
|
|
|
LDFLAGS = -ggdb3 ${LIBS}
|
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
CC = cc
|