Move makefile to toplevel dir

This commit is contained in:
Samrat Man Singh 2017-09-03 23:51:26 +05:45
parent e3218f9741
commit b9c9bcaf6d
2 changed files with 9 additions and 5 deletions

9
Makefile Normal file
View file

@ -0,0 +1,9 @@
build:
ocamlbuild -use-ocamlfind -package core -tag thread -I src/ raytracer.native
chmod +x raytracer.native
clean:
ocamlbuild -clean
rm out.ppm
display: build
./raytracer.native
display out.ppm

View file

@ -1,5 +0,0 @@
build:
ocamlbuild -use-ocamlfind -package core -tag thread raytracer.native
display: build
./raytracer.native
display matte.ppm