diff options
author | Julian T <julian@jtle.dk> | 2020-03-21 19:05:43 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-03-21 19:05:43 +0100 |
commit | ee18fc8e303c4de1fa68e8cfc007cb31578d0c3a (patch) | |
tree | a9eb6749b3175e5a49563004738f7fa645f9fd8b | |
parent | 0aa3ca114ca239e03f5db4348685d1ebf9a2977a (diff) |
Added render makefile target
-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 |