Browse Source

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
Elliot Saba 11 years ago
parent
commit
eb2f4d4b44
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Makefile

+ 2 - 1
Makefile

@@ -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/