diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -26,7 +26,7 @@ endif # Expansion of variables subdirobjs = $(foreach dir,$(subdirs),$(dir)/$(dir).o) -all: $(OUTFILE) $(OTR_PI) systemd +all: $(OUTFILE) $(OTR_PI) $(SKYPE_PI) systemd $(MAKE) -C doc uninstall: uninstall-bin uninstall-doc @@ -108,6 +108,10 @@ ifdef OTR_PI mkdir -p $(DESTDIR)$(PLUGINDIR) install -m 0755 otr.so $(DESTDIR)$(PLUGINDIR) endif +ifdef SKYPE_PI + mkdir -p $(DESTDIR)$(PLUGINDIR) + install -m 0755 skype.so $(DESTDIR)$(PLUGINDIR) +endif systemd: ifdef SYSTEMDSYSTEMUNITDIR @@ -140,6 +144,10 @@ $(OTR_PI): %.so: $(SRCDIR)%.c @echo '*' Building plugin $@ @$(CC) $(CFLAGS) $(OTRFLAGS) -fPIC -shared $< -o $@ +$(SKYPE_PI): $(SRCDIR)protocols/skype/skype.c + @echo '*' Building plugin skype + @$(CC) $(CFLAGS) -fPIC -shared $< -o $@ + $(objects): %.o: $(SRCDIR)%.c @echo '*' Compiling $< @$(CC) -c $(CFLAGS) $< -o $@ |