awesome/config.mk

26 lines
922 B
Makefile
Raw Normal View History

2007-09-10 12:06:54 +02:00
# awesome version
VERSION = $(shell git describe 2>/dev/null || echo devel)
2007-09-05 20:15:00 +02:00
# Customize below to fit your system
# 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
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 15:44:34 +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}\"
2007-09-05 20:15:00 +02:00
LDFLAGS = -ggdb3 ${LIBS}
# compiler and linker
CC = cc