Install everything in the include/ directory into $(prefix)/include/openlibm.

Note that software wishing to compile against `openlibm` should add `-I$(prefix)/include/openlibm` to their `CFLAGS`.

Closes #41
This commit is contained in:
Elliot Saba 2014-02-08 18:37:33 -08:00
parent 682198cad4
commit eb2f4d4b44

View file

@ -43,6 +43,7 @@ distclean:
install: all
mkdir -p $(DESTDIR)$(libdir)
mkdir -p $(DESTDIR)$(includedir)
mkdir -p $(DESTDIR)$(includedir)/openlibm
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
cp -a src/openlibm.h $(DESTDIR)$(includedir)/
cp -a include/*.h $(DESTDIR)$(includedir)/openlibm/