added osso_context_t pointer to 'activate' method
[simple-launcher] / Makefile
index e7b2109..b9c8c6f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,22 +18,11 @@ BACKUP_CONF=simple-launcher.backup
 
 all: $(TARGET)
 
-tests: test test1 test2
-
-$(TARGET): simple-launcher.o launchable-item.o launcher-item.o sla-list.o utils.o settings-dialog.o gconf-wrapper.o dialog-entry.o
+$(TARGET): simple-launcher.o launchable-item.o launcher-item.o settings-page-items.o utils.o settings-dialog.o gconf-wrapper.o dialog-entry.o settings-page-entries.o
        $(LD) $(LDFLAGS) -o $@ $^ $(LIBS)
 
-test: test.o launcher-item.o
-       g++ -o $@ $^ $(GTKLIBS) $(DBUSLIBS) $(LIBS) -losso
-
-test1: test1.o sla-list.o launcher-item.o
-       g++ -g -o $@ $^ $(GTKLIBS) $(DBUSLIBS) $(LIBS)
-
-test2: test2.o gconf-wrapper.o
-       g++ -g -o $@ $^ $(GCONFLIBS)
-
 clean:
-       rm -f *.d *.o $(TARGET) test test1 test2
+       rm -f *.d *.o $(TARGET)
 
 install: $(TARGET)
        install -d $(DESTDIR)/usr/share/applications/hildon-home
@@ -43,4 +32,10 @@ install: $(TARGET)
        install -d $(DESTDIR)/etc/osso-backup/applications
        install -m 0644 $(BACKUP_CONF) $(DESTDIR)/etc/osso-backup/applications/simple-launcher.conf
 
+pclean:
+       fakeroot debian/rules clean
+
+package:
+       dpkg-buildpackage -rfakeroot -uc -b
+
 -include *.d