Skip to content

Commit 76c35ca

Browse files
committed
Add XINERAMA flag to Makefile
- Apologies for splitting the XINERAMA changes into multiple commits, but I am   doing this at work and can only commit via the web interface...
1 parent 03c3953 commit 76c35ca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ CC ?= gcc
22
STRIP ?= strip
33
CFLAGS = -std=c99 -fshort-wchar -Os
44
LDFLAGS = -lxcb
5+
6+
XINERAMA ?= 0
7+
ifneq "$(XINERAMA)" "0"
8+
CFLAGS += -DXINERAMA=${XINERAMA}
9+
LDFLAGS += -lxcb-xinerama
10+
endif
11+
512
CFDEBUG = -g3 -pedantic -Wall -Wunused-parameter -Wlong-long\
613
-Wsign-conversion -Wconversion -Wimplicit-function-declaration
714

0 commit comments

Comments
 (0)