Updated UI to be transparent, added colour to output text.
[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
13 lib-stock-home-widget.c : lib-stock-home-widget.h
14 stockgetter.c : stockgetter.h
15
16 stock-home-widget: $(SOURCES)
17         @gcc -Wall -ansi -pedantic -shared `pkg-config --libs --cflags hildon-1 libhildondesktop-1` $(SOURCES) -o $(TARGET) -lcurl
18
19 clean:
20         @rm -rf *.o *~
21
22 clobber:
23         @rm -rf $(TARGET) *.o *~
24
25 install:
26         @cp -f $(TARGET) `pkg-config libhildondesktop-1 --variable=hildondesktoplibdir`/.
27         @cp -f $(DESKTOP) `pkg-config libhildondesktop-1 --variable=hildonhomedesktopentrydir`/.