forked from SRI-CSL/gllvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (26 loc) · 758 Bytes
/
Makefile
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
26
27
28
29
30
31
32
33
34
35
36
37
all: help
help:
@echo ''
@echo 'Here are the targets:'
@echo ''
@echo 'To test : "make test"'
@echo 'To develop : "make develop"'
@echo 'To install : "make install"'
@echo 'To format : "make format"'
@echo 'To vet : "make vet"'
@echo 'To staticcheck : "make check"'
@echo 'To clean : "make clean"'
@echo ''
install: develop
develop:
go install github.com/SRI-CSL/gllvm/cmd/...
test: develop
go test -v ./tests
format:
gofmt -s -w shared/*.go tests/*.go cmd/*/*.go
check:
staticcheck ./...
vet:
go vet ./...
clean:
rm -f data/*hello data/*.bc [td]*/.*.c.o [td]*/*.o [td]*/.*.c.o.bc data/*.notanextensionthatwerecognize