This website works better with JavaScript.
Home
Help
Sign In
nomis
/
jdr-server
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
✨
makefile
master
n0m1s
6 years ago
parent
c4225353bc
commit
4da3bcdadb
Signed by:
nomis
GPG Key ID:
BC0454CAD76FE803
1 changed files
with
19 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+19
-0
makefile
+ 19
- 0
makefile
View File
@ -0,0 +1,19 @@
GO
:=
$(
shell which go
)
BINARY_NAME
:=
jdr-server
FILES
=
$(
shell find . -type f -name
'*.go'
)
.PHONY
:
all
run
clean
all
:
$(
BINARY_NAME
)
$(BINARY_NAME)
:
$(
FILES
)
$(
GO
)
fmt
$(
addprefix ./,
$(
shell dirname $^
|
sort
|
uniq
)
)
$(
GO
)
get
$(
GO
)
build -o
$@
-v
run
:
$(
BINARY_NAME
)
./
$(
BINARY_NAME
)
clean
:
Write
Preview
Loading…
Cancel
Save