create second part of lab
This commit is contained in:
parent
48763fe3d8
commit
f0ff06b01f
6 changed files with 29 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
module frequency
|
||||
module analyze
|
||||
|
||||
go 1.18
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ GoBUILD=$(GoCMD) build
|
|||
GoCLEAN=$(GoCMD) clean
|
||||
GoTEST=$(GoCMD) test
|
||||
GoMOD=$(GoCMD) mod
|
||||
BINARY_NAME=frequency
|
||||
BINARY_NAME=tool
|
||||
|
||||
# To install GoLang please follow the installation instructions on https://go.dev/
|
||||
all: build
|
||||
|
|
3
Lab04/code/part01-encrypt/go.mod
Normal file
3
Lab04/code/part01-encrypt/go.mod
Normal file
|
@ -0,0 +1,3 @@
|
|||
module encrypt
|
||||
|
||||
go 1.18
|
0
Lab04/code/part01-encrypt/go.sum
Normal file
0
Lab04/code/part01-encrypt/go.sum
Normal file
7
Lab04/code/part01-encrypt/main.go
Normal file
7
Lab04/code/part01-encrypt/main.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
}
|
17
Lab04/code/part01-encrypt/makefile
Normal file
17
Lab04/code/part01-encrypt/makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Go parameters
|
||||
GoCMD=go
|
||||
GoBUILD=$(GoCMD) build
|
||||
GoCLEAN=$(GoCMD) clean
|
||||
GoTEST=$(GoCMD) test
|
||||
GoMOD=$(GoCMD) mod
|
||||
BINARY_NAME=tool
|
||||
|
||||
# To install GoLang please follow the installation instructions on https://go.dev/
|
||||
all: build
|
||||
build:
|
||||
$(GoBUILD) -o $(BINARY_NAME) -v
|
||||
clean:
|
||||
$(GOCLEAN)
|
||||
rm -f $(BINARY_NAME)
|
||||
deps:
|
||||
$(GoMOD) tidy
|
Reference in a new issue