build: adjust Makefile to src/

This commit is contained in:
eneller
2025-12-12 19:26:59 +01:00
parent 6f44b9ea7d
commit b31884d8ab

View File

@@ -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