[gtk+] examples: Fix clean rule in stand alone Makefiles
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] examples: Fix clean rule in stand alone Makefiles
- Date: Sat, 6 Dec 2014 13:31:38 +0000 (UTC)
commit c55c18c23e58885003039484fd3d4d22b783bc3e
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Dec 6 13:30:24 2014 +0000
examples: Fix clean rule in stand alone Makefiles
Remove all the built files, including the exampleapp binary.
examples/application1/Makefile.example | 2 +-
examples/application10/Makefile.example | 3 ++-
examples/application2/Makefile.example | 1 +
examples/application3/Makefile.example | 1 +
examples/application4/Makefile.example | 1 +
examples/application5/Makefile.example | 3 ++-
examples/application6/Makefile.example | 3 ++-
examples/application7/Makefile.example | 3 ++-
examples/application8/Makefile.example | 3 ++-
examples/application9/Makefile.example | 3 ++-
10 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/examples/application1/Makefile.example b/examples/application1/Makefile.example
index bb1b867..7b99cb5 100644
--- a/examples/application1/Makefile.example
+++ b/examples/application1/Makefile.example
@@ -1,5 +1,4 @@
CC = gcc
-LD = ld
PKGCONFIG = $(shell which pkg-config)
CFLAGS = `$(PKGCONFIG) --cflags gtk+-3.0`
LIBS = `$(PKGCONFIG) --libs gtk+-3.0`
@@ -18,3 +17,4 @@ exampleapp: $(OBJS)
clean:
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application10/Makefile.example b/examples/application10/Makefile.example
index 46a883e..0561f77 100644
--- a/examples/application10/Makefile.example
+++ b/examples/application10/Makefile.example
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
$(CC) -o $(@F) $(LIBS) $(OBJS)
clean:
- rm -f org.gtk.exampleapp.gschema.xml.valid
+ rm -f org.gtk.exampleapp.gschema.valid
rm -f gschemas.compiled
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application2/Makefile.example b/examples/application2/Makefile.example
index 971c29c..f3d175f 100644
--- a/examples/application2/Makefile.example
+++ b/examples/application2/Makefile.example
@@ -22,3 +22,4 @@ exampleapp: $(OBJS)
clean:
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application3/Makefile.example b/examples/application3/Makefile.example
index 971c29c..f3d175f 100644
--- a/examples/application3/Makefile.example
+++ b/examples/application3/Makefile.example
@@ -22,3 +22,4 @@ exampleapp: $(OBJS)
clean:
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application4/Makefile.example b/examples/application4/Makefile.example
index 3ce29b3..6a7f46b 100644
--- a/examples/application4/Makefile.example
+++ b/examples/application4/Makefile.example
@@ -22,3 +22,4 @@ exampleapp: $(OBJS)
clean:
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application5/Makefile.example b/examples/application5/Makefile.example
index a5ab302..ecfbe29 100644
--- a/examples/application5/Makefile.example
+++ b/examples/application5/Makefile.example
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
$(CC) -o $(@F) $(LIBS) $(OBJS)
clean:
- rm -f org.gtk.exampleapp.gschema.xml.valid
+ rm -f org.gtk.exampleapp.gschema.valid
rm -f gschemas.compiled
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application6/Makefile.example b/examples/application6/Makefile.example
index bd31b54..418cc4d 100644
--- a/examples/application6/Makefile.example
+++ b/examples/application6/Makefile.example
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
$(CC) -o $(@F) $(LIBS) $(OBJS)
clean:
- rm -f org.gtk.exampleapp.gschema.xml.valid
+ rm -f org.gtk.exampleapp.gschema.valid
rm -f gschemas.compiled
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application7/Makefile.example b/examples/application7/Makefile.example
index 46a883e..0561f77 100644
--- a/examples/application7/Makefile.example
+++ b/examples/application7/Makefile.example
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
$(CC) -o $(@F) $(LIBS) $(OBJS)
clean:
- rm -f org.gtk.exampleapp.gschema.xml.valid
+ rm -f org.gtk.exampleapp.gschema.valid
rm -f gschemas.compiled
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application8/Makefile.example b/examples/application8/Makefile.example
index 46a883e..0561f77 100644
--- a/examples/application8/Makefile.example
+++ b/examples/application8/Makefile.example
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
$(CC) -o $(@F) $(LIBS) $(OBJS)
clean:
- rm -f org.gtk.exampleapp.gschema.xml.valid
+ rm -f org.gtk.exampleapp.gschema.valid
rm -f gschemas.compiled
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
diff --git a/examples/application9/Makefile.example b/examples/application9/Makefile.example
index 46a883e..0561f77 100644
--- a/examples/application9/Makefile.example
+++ b/examples/application9/Makefile.example
@@ -27,7 +27,8 @@ exampleapp: $(OBJS) gschemas.compiled
$(CC) -o $(@F) $(LIBS) $(OBJS)
clean:
- rm -f org.gtk.exampleapp.gschema.xml.valid
+ rm -f org.gtk.exampleapp.gschema.valid
rm -f gschemas.compiled
rm -f resources.c
rm -f $(OBJS)
+ rm -f exampleapp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]