From c9ffd114eeadbf6968f4404d15d80eab9192bc6b Mon Sep 17 00:00:00 2001 From: Steven Luo Date: Sun, 21 Feb 2010 21:47:28 -0800 Subject: [PATCH] Fix Makefile clean targets Since we have a list of objects that we build already, use that in the clean targets instead of *.o. This fixes the config-ui Makefile clean target, which was potentially missing ../configfile.plugin.o. --- Makefile | 2 +- config-ui/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d608e3c..a5c6924 100644 --- a/Makefile +++ b/Makefile @@ -39,6 +39,6 @@ install: all install -c -m 0644 microb.desktop $(DESTDIR)$(PREFIX)/share/applications/hildon clean: - rm -f $(APP) *.o dbus-server-glue.h + rm -f $(APP) $(obj) dbus-server-glue.h .PHONY: strip install diablo fremantle diff --git a/config-ui/Makefile b/config-ui/Makefile index c0c13b4..e5ec80b 100644 --- a/config-ui/Makefile +++ b/config-ui/Makefile @@ -68,6 +68,6 @@ install-plugin: plugin install -c -m 0644 $(APP).desktop $(DESTDIR)$(PREFIX)/share/applications/hildon-control-panel clean: - rm -f $(APP) $(HILDON_APP) $(PLUGIN) *.o ../configfile.o + rm -f $(APP) $(HILDON_APP) $(PLUGIN) $(app_obj) $(happ_obj) $(plugin_obj) .PHONY: strip strip-plugin install install-plugin app diablo-hildon-app diablo-plugin fremantle-hildon-app fremantle-plugin -- 1.7.9.5