Clarify build with Gtk+ 3

This commit is contained in:
Pierre Pronchery 2015-10-27 22:50:47 +01:00
parent ef0a1efb4b
commit cc5dc128c3
2 changed files with 2 additions and 2 deletions

View File

@ -2,10 +2,10 @@ targets=camera
cflags_force=-W `pkg-config --cflags libDesktop`
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
ldflags_force=`pkg-config --libs libDesktop` -lintl
ldflags=-Wl,-pie
#for Gtk+ 3
#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0`
#ldflags_force=`pkg-config --libs libDesktop gtk+-x11-3.0` -lintl
ldflags=-Wl,-pie
dist=Makefile,camera.h,overlay.h,window.h
[camera]

View File

@ -2,9 +2,9 @@ targets=gallery
cflags_force=-W `pkg-config --cflags gtk+-2.0`
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
ldflags_force=`pkg-config --libs glib-2.0`
ldflags=-Wl,-pie
#for Gtk+ 3
#cflags_force=-W `pkg-config --cflags gtk+-3.0`
ldflags=-Wl,-pie
dist=Makefile
[gallery]