diff --git a/Makefile b/Makefile index 19dc7a0..9574065 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,7 @@ $(LIBNAME).hpp: $(HDRS) HEADERSRCDIR := build else HEADERSRCDIR := src +INCLUDEDIR := $(INCLUDEDIR)/$(LIBNAME) endif test: @@ -105,7 +106,7 @@ install: endif $(INSTALL) -d $(LIBDIR) $(INSTALL) -m 644 $(OUTDIR)$(REALNAME) $(LIBDIR) - $(INSTALL) -d $(INCLUDEDIR)/$(LIBNAME) + $(INSTALL) -d $(INCLUDEDIR) $(INSTALL) -m 644 $(HEADERSRCDIR)/$(LIBNAME).hpp $(INCLUDEDIR) ifeq ($(UNAME_S),Darwin) cd $(LIBDIR) && ln -sf $(REALNAME) $(SONAME)