Desktop
targets=pdfviewer
cppflags_force=-I $(PREFIX)/include
#cppflags=-D EMBEDDED
cflags_force=-W `pkg-config --cflags libDesktop poppler-glib`
cflags=-Wall -g -O2 -pedantic
ldflags_force=`pkg-config --libs libDesktop poppler-glib` -lm
ldflags=
dist=Makefile,callbacks.h,pdfviewer.h
[pdfviewer]
type=binary
sources=callbacks.c,pdfviewer.c,main.c
install=$(BINDIR)
[callbacks.c]
depends=callbacks.h
[pdfviewer.c]
depends=callbacks.h,pdfviewer.h,../config.h