Skip to content
Snippets Groups Projects
Commit 791c2a4b authored by Recolic Keghart's avatar Recolic Keghart
Browse files

fix Makefile

parent fd39dd93
No related branches found
No related tags found
No related merge requests found
......@@ -7,14 +7,15 @@ ARFLAGS = rcs
PREFIX ?= /usr
def: compile_library
def:
@echo Run make install
install_header:
[ ! -d $(PREFIX)/include/rlib ] || rm -rf $(PREFIX)/include/rlib
cp -r . $(PREFIX)/include/rlib
rm -rf $(PREFIX)/include/rlib/test $(PREFIX)/include/rlib/.git
install_cmake: install_library
install_cmake:
[ ! -d $(PREFIX)/lib/cmake/rlib ] || rm -rf $(PREFIX)/lib/cmake/rlib
[ ! -d $(PREFIX)/lib/cmake ] || cp -r cmake $(PREFIX)/lib/cmake/rlib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment