Browse Source

Added makefile and rename

master
Tovi Jaeschke-Rogers 4 years ago
parent
commit
3833d00b9d
4 changed files with 17 additions and 1 deletions
  1. +3
    -0
      .gitignore
  2. BIN
      fenc
  3. +1
    -1
      fenc.go
  4. +13
    -0
      makefile

+ 3
- 0
.gitignore View File

@ -0,0 +1,3 @@
fenc-linux
fenc-darwin
fenc-windows.exe

BIN
fenc View File


main.go → fenc.go View File


+ 13
- 0
makefile View File

@ -0,0 +1,13 @@
# Fenc Makefile
default:
$(info build)
$(info clean)
build:
GOOS=linux GOARCH=amd64 go build -o fenc-linux fenc.go
GOOS=darwin GOARCH=amd64 go build -o fenc-darwin fenc.go
GOOS=windows GOARCH=amd64 go build -o fenc-windows.exe fenc.go
clean:
rm fenc-linux fenc-darwin fenc-windows.exe

Loading…
Cancel
Save