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 Aug 30, 2020
1 parent ad1fcb6 commit 6f57319
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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)
cp plugin/* $(PREFIX)/$(PLUGIN_NAMESPACE)

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

0 comments on commit 6f57319

Please sign in to comment.