Files
wish-serve/Makefile
2024-10-06 10:20:55 +02:00

15 lines
190 B
Makefile

BUILD_TARGET = ./bin/
SERVE = main.go
all: clean build
run:
go run $(SERVE)
clean:
go clean
rm -rf $(BUILD_TARGET)
build:
go build -ldflags "-s -w" -o $(BUILD_TARGET)serve $(SERVE)