examples: Fix Makefiles to use gtk4 for build
authorMohammed Sadiq <sadiq@sadiqpk.org>
Mon, 7 May 2018 16:32:10 +0000 (22:02 +0530)
committerMohammed Sadiq <sadiq@sadiqpk.org>
Mon, 7 May 2018 16:59:32 +0000 (22:29 +0530)
examples/application1/Makefile.example
examples/application10/Makefile.example
examples/application2/Makefile.example
examples/application3/Makefile.example
examples/application4/Makefile.example
examples/application5/Makefile.example
examples/application6/Makefile.example
examples/application7/Makefile.example
examples/application8/Makefile.example
examples/application9/Makefile.example

index 47d2ae93535c4ff59170b06f6f57db36023e2fb1..52746a09458b3268928e9a9015f1b4f6df308871 100644 (file)
@@ -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
 
index 306da637e6d7f7e61a851eeadc0763d56a2a0a18..03ddb9a874e0f294afa4f1cdc1f481ee5b617044 100644 (file)
@@ -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)
 
index 844fffdc17e32beaeb8049448f10b603c5c788fa..c0eb251560d4f8a6146ba7f8abcab73554babfd6 100644 (file)
@@ -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
index 844fffdc17e32beaeb8049448f10b603c5c788fa..c0eb251560d4f8a6146ba7f8abcab73554babfd6 100644 (file)
@@ -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
index cc560535ac7c7e629c885738177b76348efafd58..2714a1decbd934c5a852f455d9899573927f8f8d 100644 (file)
@@ -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
index d056de216fa3da8acdb1e727b2e8534a4fe4d8a2..b86eef33789261ec92b3eb680c1b67634a7a715e 100644 (file)
@@ -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)
 
index 9ae9ad511acf99fd552678afb3b317407844fa6b..7c8762ec29fd4020a26056b41f8f9391fac8e483 100644 (file)
@@ -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)
 
index 306da637e6d7f7e61a851eeadc0763d56a2a0a18..03ddb9a874e0f294afa4f1cdc1f481ee5b617044 100644 (file)
@@ -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)
 
index 306da637e6d7f7e61a851eeadc0763d56a2a0a18..03ddb9a874e0f294afa4f1cdc1f481ee5b617044 100644 (file)
@@ -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)
 
index 306da637e6d7f7e61a851eeadc0763d56a2a0a18..03ddb9a874e0f294afa4f1cdc1f481ee5b617044 100644 (file)
@@ -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)