2007-09-10 12:06:54 +02:00
|
|
|
# awesome version
|
2007-09-14 09:22:28 +02:00
|
|
|
VERSION = devel
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
# additional layouts beside floating
|
2007-09-15 12:39:33 +02:00
|
|
|
LAYOUTS = layouts/tile.c layouts/spiral.c layouts/floating.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
|
|
|
|
INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags libconfig`
|
2007-09-13 23:20:05 +02:00
|
|
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 `pkg-config --libs libconfig` -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
|