X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=Makefile;h=fb27a9874937e88caf7d2562eba9e91ecb2615d3;hb=78a9060ede034cecd15368d826120150d6d57a73;hp=411d429ab6259c9f4f29e4e50a9a7d7bea030982;hpb=6d12449483f797741bcd47d0534d67d082760431;p=simple-launcher diff --git a/Makefile b/Makefile index 411d429..fb27a98 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ GTKLIBS := $(shell pkg-config gtk+-2.0 --libs) DBUSCFLAGS := $(shell pkg-config dbus-1 --cflags) DBUSLIBS := $(shell pkg-config dbus-1 --libs) -CXXFLAGS=-Wall -MMD $(GTKCFLAGS) $(DBUSCFLAGS) +CXXFLAGS=-Wall -g -MMD $(GTKCFLAGS) $(DBUSCFLAGS) #LDFLAGS = -module -avoid-version LDFLAGS = -shared LIBS = -lstdc++ @@ -13,14 +13,19 @@ TARGET=simple-launcher.so all: $(TARGET) -$(TARGET): simple-launcher.o launcher-item.o +tests: test test1 + +$(TARGET): simple-launcher.o launchable-item.o launcher-item.o sla-list.o $(LD) $(LDFLAGS) -o $@ $^ $(LIBS) test: test.o launcher-item.o - g++ -o $@ $^ $(GTKLIBS) $(DBUSLIBS) $(LIBS) -losso + g++ -o $@ $^ $(GTKLIBS) $(DBUSLIBS) $(LIBS) -losso + +test1: test1.o sla-list.o launcher-item.o + g++ -g -o $@ $^ $(GTKLIBS) $(DBUSLIBS) $(LIBS) clean: - rm -f *.d *.o $(TARGET) test + rm -f *.d *.o $(TARGET) test test1 install: $(TARGET) install -d $(DESTDIR)/usr/share/applications/hildon-home