[gtk+] Fix example Makefiles
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix example Makefiles
- Date: Sun, 3 Jul 2016 17:55:51 +0000 (UTC)
commit 22b6df025e5c17c0576826ddea62590532b9ce15
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jul 3 13:54:11 2016 -0400
Fix example Makefiles
Put OBJS before LIBS on the commandline to make things
work better.
https://bugzilla.gnome.org/show_bug.cgi?id=768142
examples/application1/Makefile.example | 2 +-
examples/application10/Makefile.example | 2 +-
examples/application2/Makefile.example | 2 +-
examples/application3/Makefile.example | 2 +-
examples/application4/Makefile.example | 2 +-
examples/application5/Makefile.example | 2 +-
examples/application6/Makefile.example | 2 +-
examples/application7/Makefile.example | 2 +-
examples/application8/Makefile.example | 2 +-
examples/application9/Makefile.example | 2 +-
10 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/examples/application1/Makefile.example b/examples/application1/Makefile.example
index ffab3d4..47d2ae9 100644
--- a/examples/application1/Makefile.example
+++ b/examples/application1/Makefile.example
@@ -13,7 +13,7 @@ all: exampleapp
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS)
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f $(OBJS)
diff --git a/examples/application10/Makefile.example b/examples/application10/Makefile.example
index 917e3c7..306da63 100644
--- a/examples/application10/Makefile.example
+++ b/examples/application10/Makefile.example
@@ -25,7 +25,7 @@ resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --source
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS) gschemas.compiled
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f org.gtk.exampleapp.gschema.valid
diff --git a/examples/application2/Makefile.example b/examples/application2/Makefile.example
index c6f8293..844fffd 100644
--- a/examples/application2/Makefile.example
+++ b/examples/application2/Makefile.example
@@ -18,7 +18,7 @@ resources.c: exampleapp.gresource.xml window.ui
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS)
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f $(BUILT_SRC)
diff --git a/examples/application3/Makefile.example b/examples/application3/Makefile.example
index c6f8293..844fffd 100644
--- a/examples/application3/Makefile.example
+++ b/examples/application3/Makefile.example
@@ -18,7 +18,7 @@ resources.c: exampleapp.gresource.xml window.ui
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS)
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f $(BUILT_SRC)
diff --git a/examples/application4/Makefile.example b/examples/application4/Makefile.example
index 97b2265..cc56053 100644
--- a/examples/application4/Makefile.example
+++ b/examples/application4/Makefile.example
@@ -18,7 +18,7 @@ resources.c: exampleapp.gresource.xml window.ui app-menu.ui
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS)
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f $(BUILT_SRC)
diff --git a/examples/application5/Makefile.example b/examples/application5/Makefile.example
index e667ebf..d056de2 100644
--- a/examples/application5/Makefile.example
+++ b/examples/application5/Makefile.example
@@ -25,7 +25,7 @@ resources.c: exampleapp.gresource.xml window.ui app-menu.ui
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS) gschemas.compiled
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f org.gtk.exampleapp.gschema.valid
diff --git a/examples/application6/Makefile.example b/examples/application6/Makefile.example
index eb9cff4..9ae9ad5 100644
--- a/examples/application6/Makefile.example
+++ b/examples/application6/Makefile.example
@@ -25,7 +25,7 @@ resources.c: exampleapp.gresource.xml window.ui app-menu.ui
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS) gschemas.compiled
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f org.gtk.exampleapp.gschema.valid
diff --git a/examples/application7/Makefile.example b/examples/application7/Makefile.example
index 917e3c7..306da63 100644
--- a/examples/application7/Makefile.example
+++ b/examples/application7/Makefile.example
@@ -25,7 +25,7 @@ resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --source
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS) gschemas.compiled
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f org.gtk.exampleapp.gschema.valid
diff --git a/examples/application8/Makefile.example b/examples/application8/Makefile.example
index 917e3c7..306da63 100644
--- a/examples/application8/Makefile.example
+++ b/examples/application8/Makefile.example
@@ -25,7 +25,7 @@ resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --source
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS) gschemas.compiled
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f org.gtk.exampleapp.gschema.valid
diff --git a/examples/application9/Makefile.example b/examples/application9/Makefile.example
index 917e3c7..306da63 100644
--- a/examples/application9/Makefile.example
+++ b/examples/application9/Makefile.example
@@ -25,7 +25,7 @@ resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --source
$(CC) -c -o $(@F) $(CFLAGS) $<
exampleapp: $(OBJS) gschemas.compiled
- $(CC) -o $(@F) $(LIBS) $(OBJS)
+ $(CC) -o $(@F) $(OBJS) $(LIBS)
clean:
rm -f org.gtk.exampleapp.gschema.valid
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]