2007-09-10 12:06:54 +02:00
|
|
|
# awesome version
|
2007-11-08 11:40:35 +01:00
|
|
|
VERSION = $$(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-12-14 17:05:29 +01:00
|
|
|
LAYOUTS = layouts/tile.c layouts/floating.c layouts/max.c layouts/fibonacci.c
|
2007-12-22 19:32:47 +01:00
|
|
|
# additional widgets
|
2007-12-23 14:27:56 +01:00
|
|
|
WIDGETS = widgets/taglist.c widgets/layoutinfo.c widgets/textbox.c widgets/focustitle.c widgets/iconbox.c widgets/netwmicon.c widgets/progressbar.c
|
2007-12-15 07:53:53 +01:00
|
|
|
|
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-12-27 15:56:17 +01:00
|
|
|
CFLAGS = -std=gnu99 -ggdb3 -pipe -Wall -Wextra -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare -Wunused -Winit-self -Wpointer-arith -Wredundant-decls -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn -O3 ${INCS} -DVERSION=\"${VERSION}\" -DRELEASE=\"${RELEASE}\"
|
2007-09-05 20:15:00 +02:00
|
|
|
LDFLAGS = -ggdb3 ${LIBS}
|
2007-11-17 20:53:31 +01:00
|
|
|
CLIENTLDFLAGS = -ggdb3
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
CC = cc
|