Skip to content

Commit

Permalink
Makefile: update install target to copy to prefix subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
sskeirik committed Sep 14, 2020
1 parent d81e760 commit 82da622
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ plugin-c/blockchain.o: plugin-c/proto/msg.pb.h
protoc --cpp_out=. $<

.PHONY: install clean

PLUGIN_NAMESPACE := blockchain-k-plugin
install:
@mkdir -p $(PREFIX)
cp plugin/* $(PREFIX)
@mkdir -p $(PREFIX)/$(PLUGIN_NAMESPACE)
cp plugin/* $(PREFIX)/$(PLUGIN_NAMESPACE)

clean:
rm -rf */*.o */*/*.o plugin/proto/*.pb.* build deps/libff/build
Expand Down

0 comments on commit 82da622

Please sign in to comment.