Desktop

subdirs=account,plugins
targets=compose,mailer
cppflags_force=-I ../include
#cppflags=-D EMBEDDED
cflags_force=-W `pkg-config --cflags libSystem libDesktop`
cflags=-Wall -g -O2 -pedantic
ldflags_force=`pkg-config --libs libSystem libDesktop`
ldflags=
dist=Makefile,account.h,callbacks.h,common.c,compose.h,folder.h,mailer.h,message.h,gtkassistant.c
[compose]
type=binary
sources=compose.c,compose-main.c
install=$(BINDIR)
[mailer]
type=binary
sources=account.c,callbacks.c,folder.c,mailer.c,main.c,message.c
depends=compose.o
ldflags=compose.o
install=$(BINDIR)
[account.c]
cppflags=-D PREFIX=\"$(PREFIX)\"
depends=mailer.h,message.h,account.h,../config.h
[callbacks.c]
depends=account.h,callbacks.h,compose.h,mailer.h,gtkassistant.c
[compose.c]
depends=callbacks.h,mailer.h,compose.h,../config.h
[compose-main.c]
depends=compose.h
[folder.c]
depends=mailer.h,folder.h
[mailer.c]
cppflags=-D PREFIX=\"$(PREFIX)\"
depends=account.h,callbacks.h,compose.h,mailer.h,../config.h
[main.c]
cppflags=-D PREFIX=\"$(PREFIX)\"
depends=mailer.h,../config.h