X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=Makefile;h=160348a2057d699cb2770078d50dd2cb8adab00c;hb=a651bfc31934ac98f97e3a7053f91ecc6488d89d;hp=cd7d4a99dd218b08ccbb8d5b0a3dad3942c151c8;hpb=659adcd9f952d2e7ba446ef8eb492bbd399d8621;p=speedometer diff --git a/Makefile b/Makefile index cd7d4a9..160348a 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ PKGS = gtk+-2.0 liblocation gconf-2.0 libosso CC = gcc LINK = gcc -CFLAGS = -g -Wall -O0 -pedantic -std=gnu99 +CFLAGS = -g -Wall -O0 -pedantic -std=gnu99 `pkg-config --cflags maemo-launcher-app` INCPATH = `pkg-config --cflags $(PKGS)` -LIBS = `pkg-config --libs $(PKGS)` +LIBS = `pkg-config --libs $(PKGS) maemo-launcher-app` SOURCES = main.c callbacks.c ui.c util.c OBJECTS = main.o callbacks.o ui.o util.o @@ -27,11 +27,15 @@ install: all install -D data/speedometer.service $(DESTDIR)/usr/share/dbus-1/services/speedometer.service install -d $(DESTDIR)/usr/share/speedometer/ install data/*.png $(DESTDIR)/usr/share/speedometer/ + install -D icons/speedometer-64.png $(DESTDIR)/usr/share/icons/hicolor/scalable/hildon/speedometer.png uninstall: rm -rf $(DESTDIR)/usr/share/speedometer rm -f $(DESTDIR)/bin/speedometer rm -f $(DESTDIR)/usr/share/applications/hildon/speedometer.desktop rm -f $(DESTDIR)/usr/share/dbus-1/services/speedometer.service - + +deb: + dpkg-buildpackage -rfakeroot -b +