summaryrefslogtreecommitdiff
path: root/ppm/Makefile
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-12-17 20:56:01 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-12-17 20:56:01 +0100
commit0c97c2124e83b0bcf8719a62ce3704602ee66c38 (patch)
tree8f25e27dc986021bdc443ff140ff086849f5ad86 /ppm/Makefile
parent660e9467851978016db6c39157315b832c94f8fd (diff)
downloadzig-playground-0c97c2124e83b0bcf8719a62ce3704602ee66c38.tar.gz
zig-playground-0c97c2124e83b0bcf8719a62ce3704602ee66c38.zip
ppm: simple example to generate a ppm image
Diffstat (limited to 'ppm/Makefile')
-rw-r--r--ppm/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/ppm/Makefile b/ppm/Makefile
new file mode 100644
index 0000000..031bfc6
--- /dev/null
+++ b/ppm/Makefile
@@ -0,0 +1,8 @@
+main: main.zig ppm.zig
+ zig run main.zig
+
+show:
+ nsxiv test.ppm
+
+clean:
+ $(RM) test.ppm