CFLAGS = -Wall -g CPPFLAGS = $(shell pkg-config --cflags gtk+-2.0 cairo gconf-2.0) LDLIBS = $(shell pkg-config --libs gtk+-2.0 cairo gconf-2.0) -lm LDFLAGS = -g GCONFTOOL = gconftool-2 prefix = $(HOME) targets = akamaru dock schemas = kiba.schemas akamaru_objs = main.o akamaru.o dock_objs = dock.o akamaru.o objs = $(akamaru_objs) $(dock_objs) all : $(targets) akamaru : $(akamaru_objs) dock : $(dock_objs) $(objs) : akamaru.h install-schemas : GCONF_CONFIG_SOURCE=$(GCONF_CONFIG_SOURCE) \ $(GCONFTOOL) --makefile-install-rule $(schemas) install : install-schemas install dock $(prefix)/bin/kiba-dock sh populate-dock.sh uninstall-schemas : gconf-clean GCONF_CONFIG_SOURCE=$(GCONF_CONFIG_SOURCE) \ $(GCONFTOOL) --makefile-uninstall-rule $(schemas) gconf-clean : $(GCONFTOOL) --recursive-unset /apps/kiba index.html : index.html.in ./log.sh > index.html clean : rm -f $(targets) $(objs)