examples: Fix clean rule in stand alone Makefiles

Remove all the built files, including the exampleapp binary.
This commit is contained in:
Emmanuele Bassi
2014-12-06 13:30:24 +00:00
parent f718bc9bc9
commit c55c18c23e
10 changed files with 16 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -22,3 +22,4 @@ exampleapp: $(OBJS)
clean:
rm -f resources.c
rm -f $(OBJS)
rm -f exampleapp

View File

@ -22,3 +22,4 @@ exampleapp: $(OBJS)
clean:
rm -f resources.c
rm -f $(OBJS)
rm -f exampleapp

View File

@ -22,3 +22,4 @@ exampleapp: $(OBJS)
clean:
rm -f resources.c
rm -f $(OBJS)
rm -f exampleapp

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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