mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-29 13:03:42 +01:00
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:
parent
682198cad4
commit
eb2f4d4b44
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -43,6 +43,7 @@ distclean:
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
mkdir -p $(DESTDIR)$(libdir)
|
mkdir -p $(DESTDIR)$(libdir)
|
||||||
mkdir -p $(DESTDIR)$(includedir)
|
mkdir -p $(DESTDIR)$(includedir)/openlibm
|
||||||
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
|
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
|
||||||
cp -a src/openlibm.h $(DESTDIR)$(includedir)/
|
cp -a src/openlibm.h $(DESTDIR)$(includedir)/
|
||||||
|
cp -a include/*.h $(DESTDIR)$(includedir)/openlibm/
|
||||||
|
|
Loading…
Reference in a new issue