blob: de527024e2644105edc858068e33518d800d34e4 (
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 ./... data/L.stl
install: all
mkdir -p $(PREFIX)/bin
install -m 755 build/stlscope $(PREFIX)/bin
.PHONY: all clean debug install
|