aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-08-18 11:41:26 +0200
committerMateja <mail@matejamaric.com>2020-08-18 11:41:26 +0200
commit79c65ab0852ca6b1dc023505c5026cbf96e06d0f (patch)
treeb4c2945b1008d6919a4f89d3759bd89c7c8db671 /makefile
downloadscanline-render-79c65ab0852ca6b1dc023505c5026cbf96e06d0f.tar.gz
scanline-render-79c65ab0852ca6b1dc023505c5026cbf96e06d0f.zip
first commit
Diffstat (limited to 'makefile')
-rw-r--r--makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..0a4fca9
--- /dev/null
+++ b/makefile
@@ -0,0 +1,11 @@
+render: main.cpp
+ g++ -o render main.cpp
+image.ppm: render
+ ./render
+run: render
+ ./render
+view: image.ppm
+ feh -. image.ppm
+clean:
+ rm image.ppm
+ rm render