build: adjust Makefile to src/
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,12 +1,13 @@
|
|||||||
CC=go build
|
CC=go build
|
||||||
NAME=schneller-whatsapp
|
NAME=schneller-whatsapp
|
||||||
|
SRCDIR=./src
|
||||||
default: build
|
default: build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(CC) -o $(NAME)
|
$(CC) -o $(NAME) $(SRCDIR)
|
||||||
|
|
||||||
run:
|
run:
|
||||||
go run .
|
go run $(SRCDIR)
|
||||||
|
|
||||||
arm:
|
arm:
|
||||||
env CGO_ENABLED=1 GOOS=linux GOARCH=arm64 $(CC) -o $(NAME)-arm64
|
env CGO_ENABLED=1 GOOS=linux GOARCH=arm64 $(CC) -o $(NAME)-arm64
|
||||||
|
|||||||
Reference in New Issue
Block a user