mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
26 lines
393 B
Makefile
26 lines
393 B
Makefile
|
|
BINS = bin/random bin/ipfs
|
|
IPFS_ROOT = ../
|
|
IPFS_CMD = ../cmd/ipfs
|
|
RANDOM_SRC = ../Godeps/_workspace/src/github.com/jbenet/go-random
|
|
|
|
all: deps
|
|
|
|
deps: bins
|
|
|
|
clean:
|
|
rm $(BINS)
|
|
|
|
bins: $(BINS)
|
|
|
|
bin/random: $(RANDOM_SRC)/**/*.go
|
|
go build -o bin/random $(RANDOM_SRC)/random
|
|
|
|
bin/ipfs: $(IPFS_ROOT)/**/*.go
|
|
go build -o bin/ipfs $(IPFS_CMD)
|
|
|
|
test_sharness:
|
|
cd sharness && make
|
|
|
|
.PHONY: all clean
|