summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMohammed Sadiq <sadiq@sadiqpk.org>2018-05-07 22:02:10 +0530
committerMohammed Sadiq <sadiq@sadiqpk.org>2018-05-07 22:29:32 +0530
commitc5976fed9a570ee9b3e39d873f609fa200334eb6 (patch)
treec40cd8e0574ad095e0c5b32ad30557604ce19e0a /examples
parent34d1ebc562c83136cd778749d86abfee58e28627 (diff)
downloadgtk+-c5976fed9a570ee9b3e39d873f609fa200334eb6.tar.gz
examples: Fix Makefiles to use gtk4 for build
Diffstat (limited to 'examples')
-rw-r--r--examples/application1/Makefile.example4
-rw-r--r--examples/application10/Makefile.example4
-rw-r--r--examples/application2/Makefile.example4
-rw-r--r--examples/application3/Makefile.example4
-rw-r--r--examples/application4/Makefile.example4
-rw-r--r--examples/application5/Makefile.example4
-rw-r--r--examples/application6/Makefile.example4
-rw-r--r--examples/application7/Makefile.example4
-rw-r--r--examples/application8/Makefile.example4
-rw-r--r--examples/application9/Makefile.example4
10 files changed, 20 insertions, 20 deletions
diff --git a/examples/application1/Makefile.example b/examples/application1/Makefile.example
index 47d2ae9353..52746a0945 100644
--- a/examples/application1/Makefile.example
+++ b/examples/application1/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
SRC = main.c exampleapp.c exampleappwin.c
diff --git a/examples/application10/Makefile.example b/examples/application10/Makefile.example
index 306da637e6..03ddb9a874 100644
--- a/examples/application10/Makefile.example
+++ b/examples/application10/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
diff --git a/examples/application2/Makefile.example b/examples/application2/Makefile.example
index 844fffdc17..c0eb251560 100644
--- a/examples/application2/Makefile.example
+++ b/examples/application2/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
SRC = exampleapp.c exampleappwin.c main.c
diff --git a/examples/application3/Makefile.example b/examples/application3/Makefile.example
index 844fffdc17..c0eb251560 100644
--- a/examples/application3/Makefile.example
+++ b/examples/application3/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
SRC = exampleapp.c exampleappwin.c main.c
diff --git a/examples/application4/Makefile.example b/examples/application4/Makefile.example
index cc560535ac..2714a1decb 100644
--- a/examples/application4/Makefile.example
+++ b/examples/application4/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
SRC = exampleapp.c exampleappwin.c main.c
diff --git a/examples/application5/Makefile.example b/examples/application5/Makefile.example
index d056de216f..b86eef3378 100644
--- a/examples/application5/Makefile.example
+++ b/examples/application5/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
diff --git a/examples/application6/Makefile.example b/examples/application6/Makefile.example
index 9ae9ad511a..7c8762ec29 100644
--- a/examples/application6/Makefile.example
+++ b/examples/application6/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
diff --git a/examples/application7/Makefile.example b/examples/application7/Makefile.example
index 306da637e6..03ddb9a874 100644
--- a/examples/application7/Makefile.example
+++ b/examples/application7/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
diff --git a/examples/application8/Makefile.example b/examples/application8/Makefile.example
index 306da637e6..03ddb9a874 100644
--- a/examples/application8/Makefile.example
+++ b/examples/application8/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)
diff --git a/examples/application9/Makefile.example b/examples/application9/Makefile.example
index 306da637e6..03ddb9a874 100644
--- a/examples/application9/Makefile.example
+++ b/examples/application9/Makefile.example
@@ -1,7 +1,7 @@
CC ?= gcc
PKGCONFIG = $(shell which pkg-config)
-CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-3.0)
-LIBS = $(shell $(PKGCONFIG) --libs gtk+-3.0)
+CFLAGS = $(shell $(PKGCONFIG) --cflags gtk+-4.0)
+LIBS = $(shell $(PKGCONFIG) --libs gtk+-4.0)
GLIB_COMPILE_RESOURCES = $(shell $(PKGCONFIG) --variable=glib_compile_resources gio-2.0)
GLIB_COMPILE_SCHEMAS = $(shell $(PKGCONFIG) --variable=glib_compile_schemas gio-2.0)