aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-08-18 11:58:40 +0200
committerMateja <mail@matejamaric.com>2020-08-18 11:58:40 +0200
commitcb3cd4f04211858f11d09350d8797ac5df209028 (patch)
tree7b3c8ce049ee550ea6031df19a0fd30068fb1a60
parent75e65ec0763bd74b89bfcb4d7c44d68999839329 (diff)
downloadbarycentric-render-cb3cd4f04211858f11d09350d8797ac5df209028.tar.gz
barycentric-render-cb3cd4f04211858f11d09350d8797ac5df209028.zip
makefile update
-rw-r--r--.gitignore2
-rw-r--r--makefile13
2 files changed, 8 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 99b716d..ae07e71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
*.ppm
-srender
+render
diff --git a/makefile b/makefile
index 02d5d7c..0a4fca9 100644
--- a/makefile
+++ b/makefile
@@ -1,10 +1,11 @@
-srender: main.cpp
- g++ -o srender main.cpp
-image.ppm: srender
- ./srender
-run: srender
- ./srender
+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