# Generated automatically from Makefile.in by configure.
PLUGIN = Throb
THROBDIR = throbbers

include ../../config.mk

CPPFLAGS += $(shell imlib2-config --cflags)
CFLAGS += -fPIC
LIBS = $(GTK_LIBS) $(shell imlib2-config --libs)
LDFLAGS = $(PLUGIN_LDFLAGS)

OBJS = Throb.o

$(PLUGIN).so: $(OBJS)
	$(CC) $(OBJS) -o $(PLUGIN).so $(LDFLAGS) $(LIBS)

clean:
	rm -f *.o core *.so* *.bak *~

distclean: clean
	rm -f Makefile

install: 
	install -d $(PLUGINDIR)/$(THROBDIR)/pacspin
	install -c -s -m 755 $(PLUGIN).so $(PLUGINDIR)
	install -c pacspin/*.png $(PLUGINDIR)/$(THROBDIR)/pacspin

Throb.o: Throb.c
