1 # GNU Makefile -- Makefile
7 CFLAGS = `pkg-config hildon-1 --cflags` -I/usr/include/dbus-1.0/ -I/usr/lib/dbus-1.0/include/
8 LFLAGS = -shared `pkg-config hildon-1 --libs`
10 MAIN_OBJ = mancala-ui-plugin.o
14 #'$<' is filename of input, '$@' is filename of output
16 $(CC) -c -g$(DBG) -Wall $(CFLAGS) -D$(STD) $<
18 $(CC) -c -g$(DBG) -Wall $(CFLAGS) -D$(STD) $<
21 $(CC) $(LFLAGS) $(MAIN_OBJ) -o mancala-ui-plugin.so
24 mkdir -p $(DESTDIR)/home/opt/mancala/plugin/
25 cp mancala-ui-plugin.so $(DESTDIR)/home/opt/mancala/plugin/
28 rm -f *.o *.core *.swp *~ *.log
31 rm -f mancala-ui-plugin.so