summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4ef7bfc562a00885b8e7ae9f585a438a3400917d (about) (plain)
1
2
3
4
5
6
7
CFLAGS=`pkg-config --cflags x11 xcb xcb-ewmh xcb-icccm xcb-keysyms xcb-randr`
LDFLAGS=`pkg-config --libs x11 xcb xcb-ewmh xcb-icccm xcb-keysyms xcb-randr`

all: libschewm.so

libschewm.so: schewm.c
	gcc -fPIC -Wall -O2 ${CFLAGS} ${LDFLAGS} -shared -o libschewm.so schewm.c