--- /dev/null
+OBJS=lens-cover-reminder-sp.o
+SOURCES=lens-cover-reminder-sp.c
+BUILDDIR=../build
+LIB=$(BUILDDIR)/lens-cover-reminder-sp.so
+PKG_FLAGS=$(shell pkg-config hildon-1 libhildondesktop-1 --libs --cflags)
+CCFLAGS=-shared
+CC=gcc
+
+all: $(LIB)
+
+
+$(LIB): $(OBJS)
+ $(CC) $(CCFLAGS) $(PKG_FLAGS) $(OBJS) -o $(LIB)
+
+.c.o:
+ $(CC) $(CCFLAGS) $(PKG_FLAGS) -c $< -o $@
+
+
+.PHONY: clean all
+
+clean:
+ rm $(OBJS)
\ No newline at end of file