1 diff --git a/Makefile b/Makefile
2 index d8132ee..05c9b39 100644
5 @@ -8,16 +8,10 @@ ifneq ($(VERBOSE),1)
9 -override CFLAGS +=-Wall -Iinclude -Isrc -std=c99
14 - override CFLAGS +=-ggdb -DDEBUG
18 - override CFLAGS +=-pg
19 - override LDFLAGS+=-pg
21 +CFLAGS += -Iinclude -Isrc -std=c99
23 ifeq ($(shell pkg-config --atleast-version=1.1.0 unibilium && echo 1),1)
24 override CFLAGS +=$(shell pkg-config --cflags unibilium) -DHAVE_UNIBILIUM
25 @@ -48,13 +42,13 @@ VERSION_CURRENT=2
32 -INCDIR=$(PREFIX)/include
33 -MANDIR=$(PREFIX)/share/man
34 -MAN3DIR=$(MANDIR)/man3
35 -MAN7DIR=$(MANDIR)/man7
37 +BINDIR ?= $(PREFIX)/bin
38 +LIBDIR ?= $(PREFIX)/lib
39 +INCDIR ?= $(PREFIX)/include
40 +MANDIR ?= $(PREFIX)/share/man
41 +MAN3DIR ?= $(MANDIR)/man3
42 +MAN7DIR ?= $(MANDIR)/man7
46 @@ -115,7 +109,7 @@ examples/%: examples/%.lo $(LIBRARY)
47 $(LIBTOOL) --mode=link --tag=CC $(CC) -o $@ $^ $(LDFLAGS)
50 -install: install-inc install-lib install-man
51 +install: install-inc install-lib
52 $(LIBTOOL) --mode=finish $(DESTDIR)$(LIBDIR)
54 install-inc: $(HFILES)