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