summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 36e62e5424747a9fc06a4241e2a57b7fdaa7078b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
MOD=ricketyspace.net/cryptopals
PKGS=${MOD} ${MOD}/challenge ${MOD}/lib

build: fmt vet
	go build
.PHONY: build

fmt:
	go fmt ${PKGS}
.PHONY: fmt

vet:
	go vet ./...
.PHONY: vet

test:
	go test ${ARGS} ${MOD}/lib
.PHONY: test

clean:
	go clean
	rm -f *~ ./*/*~
.PHONY: clean