Makefile 345 Bytes
Newer Older
Jeromy's avatar
Jeromy committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
BINS = bin/multihash
MULTIHASH_ROOT = ../
MULTIHASH_CMD = ../multihash

all: deps

deps: bins

clean:
	rm $(BINS)

bins: $(BINS)

bin/multihash: $(MULTIHASH_ROOT)/**/*.go
	go build -o bin/multihash $(MULTIHASH_CMD)

test: test_expensive

test_expensive:
	cd sharness && make TEST_EXPENSIVE=1

test_cheap:
	cd sharness && make

.PHONY: all clean