diff --git a/src/project.conf b/src/project.conf index c152779..f91bef7 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,6 +1,8 @@ targets=camera +#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0` cflags_force=-W `pkg-config --cflags libDesktop` cflags=-Wall -g -O2 +#ldflags_force=`pkg-config --libs libDesktop gtk+-x11-3.0` -lintl ldflags_force=`pkg-config --libs libDesktop` -lintl dist=Makefile,camera.h,overlay.h,window.h diff --git a/tools/gallery.c b/tools/gallery.c index dc2c83e..5a6b5f6 100644 --- a/tools/gallery.c +++ b/tools/gallery.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include /* for GTK_CHECK_VERSION */ #include "../config.h" #define _(string) gettext(string) diff --git a/tools/project.conf b/tools/project.conf index 91efeb9..6004eee 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,6 +1,8 @@ targets=gallery +#cflags_force=-W `pkg-config --cflags gtk+-3.0` cflags_force=-W `pkg-config --cflags gtk+-2.0` cflags=-Wall -g -O2 +#ldflags=`pkg-config --libs glib-3.0` ldflags=`pkg-config --libs glib-2.0` dist=Makefile