Files
p2p-rendering-computation/Makefile

21 lines
335 B
Makefile

SHELL := /bin/bash
install:
go build -o p2prc
echo '# Paths for p2p rendering and computation' >> ~/.bashrc
echo 'export P2PRC=${PWD}' >> ~/.bashrc
echo 'export PATH=${PWD}:$${PATH}' >> ~/.bashrc
source ~/.bashrc
./p2prc --SetDefaultConfig
build:
go build -o p2prc
config:
./p2prc --SetDefaultConfig
run:
go run main.go