examples: Fix clean rule in stand alone Makefiles
Remove all the built files, including the exampleapp binary.
This commit is contained in:
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -22,3 +22,4 @@ exampleapp: $(OBJS)
|
||||
clean:
|
||||
rm -f resources.c
|
||||
rm -f $(OBJS)
|
||||
rm -f exampleapp
|
||||
|
||||
@ -22,3 +22,4 @@ exampleapp: $(OBJS)
|
||||
clean:
|
||||
rm -f resources.c
|
||||
rm -f $(OBJS)
|
||||
rm -f exampleapp
|
||||
|
||||
@ -22,3 +22,4 @@ exampleapp: $(OBJS)
|
||||
clean:
|
||||
rm -f resources.c
|
||||
rm -f $(OBJS)
|
||||
rm -f exampleapp
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user