aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6065994..aec3efe 100644
--- a/Makefile
+++ b/Makefile
@@ -24,12 +24,15 @@ $(BUILD_DIR)/%.o: %.c
$(BINARY): $(OBJ)
$(CC) -o $@ $^ $(LDFLAGS)
-.PHONY: run show clean
+.PHONY: render run show clean
# This will also generate the image
-run: $(BINARY)
+render: $(BINARY)
./$(BINARY) | convert - test.png
+run: $(BINARY)
+ ./$(BINARY)
+
show: run
xdg-open test.png