makefile fix

This commit is contained in:
Dmitry Sergeev
2026-09-13 17:35:16 +03:00
parent c3d0c2edc0
commit 156bd4ba8e
3 changed files with 7 additions and 311 deletions
+7 -9
View File
@@ -4,19 +4,17 @@
# Harmless for binaries that don't need it.
LD = -ldflags=-linkmode=internal
.PHONY: build test vet wgpu-gen clean
.PHONY: build run test clean
build:
go build $(LD) ./...
go build -o ./build/mxl-gen $(LD) ./cmd/mxl-pattern
run:
go run $(LD) ./cmd/mxl-pattern $(ARGS)
test:
go test $(LD) ./...
vet:
go vet ./...
wgpu-gen:
go run $(LD) ./cmd/wgpu-gen
go test ./...
clean:
go clean
fm -f ./build/mxl-gen