mirror of
https://github.com/danog/gllvm.git
synced 2024-11-26 19:24:40 +01:00
Spring clean the makefile.
This commit is contained in:
parent
02ea4c5218
commit
13eaad39ad
19
Makefile
19
Makefile
@ -1,3 +1,20 @@
|
||||
all: help
|
||||
|
||||
|
||||
help:
|
||||
@echo ''
|
||||
@echo 'Here are the targets:'
|
||||
@echo ''
|
||||
@echo 'To test : "make check"'
|
||||
@echo 'To develop : "make develop"'
|
||||
@echo 'To install : "make install"'
|
||||
@echo 'To format : "make format"'
|
||||
@echo 'To lint : "make lint"'
|
||||
@echo 'To clean : "make clean"'
|
||||
@echo ''
|
||||
|
||||
|
||||
|
||||
develop:
|
||||
go install github.com/SRI-CSL/gllvm/cmd/...
|
||||
|
||||
@ -8,6 +25,8 @@ check: develop
|
||||
format:
|
||||
gofmt -s -w shared/*.go tests/*.go cmd/*/*.go
|
||||
|
||||
lint:
|
||||
golint ./shared/ ./tests/ ./cmd/...
|
||||
|
||||
clean:
|
||||
rm -f data/hello data/hello.bc [td]*/.helloworld.c.o [td]*/.helloworld.c.o.bc
|
||||
|
Loading…
Reference in New Issue
Block a user