Improved the images for stock increase/decrease.
[stockwidget] / Makefile
1 #
2 # Makefile for stock widget
3 # TODO: Generate debian package for easy installation.
4 # Jon Parr
5 #
6
7 all: stock-home-widget
8
9 SOURCES=lib-stock-home-widget.c lib-stock-settings.c stockgetter.c
10 TARGET =lib-stock-home-widget.so
11 DESKTOP=stock-home-widget.desktop
12 RESOURCES=StockPluginIncrease.png StockPluginDecrease.png
13
14 lib-stock-home-widget.c : lib-stock-home-widget.h
15 stockgetter.c : stockgetter.h
16
17 stock-home-widget: $(SOURCES)
18         @gcc -Wall -ansi -pedantic -shared `pkg-config --libs --cflags hildon-1 libhildondesktop-1` $(SOURCES) -o $(TARGET) -lcurl
19
20 clean:
21         @rm -rf *.o *~
22
23 clobber:
24         @rm -rf $(TARGET) *.o *~
25
26 install:
27         @cp -f $(TARGET) `pkg-config libhildondesktop-1 --variable=hildondesktoplibdir`/.
28         @cp -f $(DESKTOP) `pkg-config libhildondesktop-1 --variable=hildonhomedesktopentrydir`/.
29         @cp -f $(RESOURCES) /etc/hildon/theme/images/.
30