Desktop

targets=keyboard,keyboardctl
cppflags_force=-I ../include
cflags_force=-W
cflags=-Wall -g -pedantic
dist=Makefile,callbacks.h,common.h,key.h,keyboard.h,layout.h
[keyboard]
type=binary
cflags=`pkg-config --cflags gtk+-2.0`
ldflags=`pkg-config --libs gtk+-2.0` -lXtst
install=$(BINDIR)
sources=callbacks.c,common.c,key.c,keyboard.c,layout.c,main.c
[key.c]
depends=key.h
[keyboard.c]
depends=callbacks.h,keyboard.h
[layout.c]
depends=layout.h
[main.c]
depends=keyboard.h
[keyboardctl]
type=binary
sources=keyboardctl.c
cflags=`pkg-config --cflags libDesktop`
ldflags=`pkg-config --libs libDesktop`