blob: 9bcf23ef7b7585a9906676f7f36f931225d9b0af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# vim: shiftwidth=4 tabstop=4 noexpandtab
PREFIX=/usr
all:
mkdir -p build
go build -o build/stlscope ./...
clean:
rm -rf build
debug:
go run ./... -file data/L.stl
install: all
mkdir -p $(PREFIX)/bin
install -m 755 build/stlscope $(PREFIX)/bin
.PHONY: all clean debug install release
|