diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-07-03 13:54:11 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-07-03 13:54:11 -0400 |
commit | 22b6df025e5c17c0576826ddea62590532b9ce15 (patch) | |
tree | c0ef28ba3e7afb11c823ca870d251ae694a4e8d0 /examples | |
parent | a43fce058c3cb69dcca24e58a89d6e0151a35216 (diff) | |
download | gtk+-22b6df025e5c17c0576826ddea62590532b9ce15.tar.gz |
Fix example Makefiles
Put OBJS before LIBS on the commandline to make things
work better.
https://bugzilla.gnome.org/show_bug.cgi?id=768142
Diffstat (limited to 'examples')
-rw-r--r-- | examples/application1/Makefile.example | 2 | ||||
-rw-r--r-- | examples/application10/Makefile.example | 2 | ||||
-rw-r--r-- | examples/application2/Makefile.example | 2 | ||||
-rw-r--r-- | examples/application3/Makefile.example | 2 | ||||
-rw-r--r-- | examples/application4/Makefile.example | 2 | ||||
-rw-r--r-- | examples/application5/Makefile.example | 2 | ||||
-rw-r--r-- | examples/application6/Makefile.example | 2 | ||||
-rw-r--r-- | examples/application7/Makefile.example | 2 | ||||
-rw-r--r-- | examples/application8/Makefile.example | 2 | ||||
-rw-r--r-- | 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 ffab3d434e..47d2ae9353 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 917e3c70f0..306da637e6 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 c6f82933cc..844fffdc17 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 c6f82933cc..844fffdc17 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 97b2265930..cc560535ac 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 e667ebf960..d056de216f 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 eb9cff4c3c..9ae9ad511a 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 917e3c70f0..306da637e6 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 917e3c70f0..306da637e6 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 917e3c70f0..306da637e6 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 |