Desktop

targets=keyboard,keyboardctl
cflags_force=-W `pkg-config --cflags libDesktop`
cflags=-Wall -g -O2
ldflags_force=`pkg-config --libs libDesktop`
cflags=-Wall -g -pedantic
dist=Makefile,callbacks.h,common.h,key.h,keyboard.h,layout.h
[keyboard]
type=binary
sources=callbacks.c,common.c,key.c,keyboard.c,layout.c,main.c
ldflags=-lXtst
install=$(BINDIR)
[callbacks.c]
depends=callbacks.h
[key.c]
depends=key.h
[keyboard.c]
depends=callbacks.h,keyboard.h,../config.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`
install=$(BINDIR)