From 05cbdfbeb5b0326d5890d93ddb464adf1e80553e Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 25 May 2021 13:51:04 +0200 Subject: Write Makefile with Targets all, clean and debug --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8989393 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +# vim: shiftwidth=4 tabstop=4 noexpandtab + +.PHONY: all clean debug + +all: + mkdir -p build + go build -o build/stlscope *.go + +clean: + rm -rf build + +debug: + go run *.go -file data/L.stl + -- cgit v1.2.3-70-g09d2