Document compilation flags for Gtk+ 3
This commit is contained in:
parent
a288d05d89
commit
69d71f44ab
|
@ -1,8 +1,12 @@
|
|||
targets=libDesktop
|
||||
cppflags_force=-I ../include
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0` -fPIC
|
||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
#for Gtk+ 2
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0` -fPIC
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0`
|
||||
#for Gtk+ 3
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-3.0` -fPIC
|
||||
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0`
|
||||
dist=Makefile
|
||||
|
||||
[libDesktop]
|
||||
|
|
|
@ -1,9 +1,13 @@
|
|||
targets=widget
|
||||
cppflags_force=-I ../include
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -L $(OBJDIR)../src -lDesktop
|
||||
ldflags=-Wl,-pie
|
||||
#for Gtk+ 2
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -L $(OBJDIR)../src -lDesktop
|
||||
#for Gtk+ 3
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-3.0`
|
||||
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0` -L $(OBJDIR)../src -lDesktop
|
||||
dist=Makefile
|
||||
|
||||
[widget]
|
||||
|
|
Loading…
Reference in New Issue
Block a user