LDFLAGS = -shared
LIBS = -lstdc++
-TARGET=libsimple-launcher.so
+TARGET=simple-launcher.so
all: $(TARGET)
-$(TARGET): simple-launcher.o launcher-item.o
+$(TARGET): simple-launcher.o launcher-item.o sla-list.o
$(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
test: test.o launcher-item.o
install -d $(DESTDIR)/usr/share/applications/hildon-home
install -m 0644 simple-launcher.desktop $(DESTDIR)/usr/share/applications/hildon-home
install -d $(DESTDIR)/usr/lib/hildon-home
- install -m 0644 libsimple-launcher.so $(DESTDIR)/usr/lib/hildon-home
+ install -m 0644 $(TARGET) $(DESTDIR)/usr/lib/hildon-home
-include *.d