rtiww/Makefile

19 lines
274 B
Makefile
Raw Permalink Normal View History

2022-07-25 17:36:18 +00:00
##
# 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