Desktop
subdirs=plugins
targets=browser,copy,delete,desktop,desktopctl,move,open,properties,view
cppflags_force=-I ../include
#cppflags=-D EMBEDDED
cflags_force=-W `pkg-config --cflags libDesktop`
cflags=-Wall -g -O2 -pedantic
ldflags_force=`pkg-config --libs libDesktop`
dist=Makefile,browser.h,callbacks.h,common.c,desktop.h,desktopicon.h
[browser]
type=binary
sources=browser.c,callbacks.c,main.c
install=$(BINDIR)
[browser.c]
depends=callbacks.h,common.c,browser.h,../config.h
cppflags=-D PREFIX=\"$(PREFIX)\"
[callbacks.c]
depends=browser.h,callbacks.h,common.c,../config.h
[main.c]
depends=browser.h
[copy]
type=binary
sources=copy.c
install=$(BINDIR)
[delete]
type=binary
sources=delete.c
install=$(BINDIR)
[desktop]
type=binary
sources=desktop.c,desktopicon.c
cflags=`pkg-config --cflags xrandr`
ldflags=`pkg-config --libs xrandr`
install=$(BINDIR)
[desktop.c]
depends=desktopicon.h,desktop.h,common.c,../config.h
cppflags=-D PREFIX=\"$(PREFIX)\"
[desktopicon.c]
depends=desktop.h,desktopicon.h,../config.h
cppflags=-D PREFIX=\"$(PREFIX)\"
[desktopctl]
type=binary
sources=desktopctl.c
install=$(BINDIR)
[desktopctl.c]
depends=desktop.h,../config.h
[move]
type=binary
sources=move.c
install=$(BINDIR)
[open]
type=binary
sources=open.c
install=$(BINDIR)
[properties]
type=binary
sources=properties.c
install=$(BINDIR)
[properties.c]
depends=../include/Browser.h,browser.h,common.c
[view]
type=binary
sources=view.c
install=$(BINDIR)