12 строки
230 B
Makefile
12 строки
230 B
Makefile
|
# Go parameters
|
||
|
GOCMD=go
|
||
|
GOBUILD=$(GOCMD) build
|
||
|
GOCLEAN=$(GOCMD) clean
|
||
|
|
||
|
all: clean build
|
||
|
build:
|
||
|
$(GOBUILD) -o ./bin/consumer ./consumer/main.go
|
||
|
$(GOBUILD) -o ./bin/producer ./producer/main.go
|
||
|
clean:
|
||
|
$(GOCLEAN)
|
||
|
rm -rf ./bin
|