diff options
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |