Skip to content

Commit eb2f4d4

Browse files
committed
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
1 parent 682198c commit eb2f4d4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ distclean:
4343

4444
install: all
4545
mkdir -p $(DESTDIR)$(libdir)
46-
mkdir -p $(DESTDIR)$(includedir)
46+
mkdir -p $(DESTDIR)$(includedir)/openlibm
4747
cp -a libopenlibm.$(SHLIB_EXT)* libopenlibm.a $(DESTDIR)$(libdir)/
4848
cp -a src/openlibm.h $(DESTDIR)$(includedir)/
49+
cp -a include/*.h $(DESTDIR)$(includedir)/openlibm/

0 commit comments

Comments
 (0)