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
NAME=schneller-whatsapp
SRCDIR=./src
default: build
build:
$(CC) -o $(NAME)
$(CC) -o $(NAME) $(SRCDIR)
run:
go run .
go run $(SRCDIR)
arm:
env CGO_ENABLED=1 GOOS=linux GOARCH=arm64 $(CC) -o $(NAME)-arm64