19 lines
274 B
Makefile
19 lines
274 B
Makefile
|
##
|
||
|
# Ray Tracing in One Weekend
|
||
|
#
|
||
|
# @file
|
||
|
# @version 0.1
|
||
|
|
||
|
mkdir = $(dir $(lastword $(MAKEFILE_LIST)))
|
||
|
debugdir = $(mkdir)/rtiww/cmake-build-debug
|
||
|
|
||
|
all: trace
|
||
|
|
||
|
rtiww:
|
||
|
cmake --build $(debugdir) --target rtiww -j9
|
||
|
|
||
|
trace: rtiww
|
||
|
$(debugdir)/rtiww >> $(mkdir)/image.ppm
|
||
|
|
||
|
# end
|