# 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