Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add sandwich switch to Makefile

  • Loading branch information...
commit b5ae58230e91b21fc44d9df0884a0926d6f9b36d 1 parent 02dd8ec
alexanderpine authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 Makefile
View
4 Makefile
@@ -16,6 +16,10 @@ ifneq ($(words $(MAKECMDGOALS)), 1)
@echo "!!!> ERROR:Can only make one thing at a time" >&2
@exit 1
endif
+ifeq ($(MAKECMDGOALS), "sandwich")
+ THING_DIR = ($ROOT)/data/
+ THING_NAME = "sandwich.stl"
+endif
@[[ -c /dev/$(USB) ]] || { echo "No USB device found"; exit 1; }
@echo "Printing"
( \
Please sign in to comment.
Something went wrong with that request. Please try again.