They're all based off a common examples/common.mk file, so that individual makefiles are quite simple now. The common.mk file also provides targets to build the examples using C++ output with the generic-16h or sse4.h files. These targets don't run by default, but do run if 'make all' is run.
9 lines
189 B
Makefile
9 lines
189 B
Makefile
|
|
EXAMPLE=deferred_shading
|
|
CPP_SRC=common.cpp main.cpp dynamic_c.cpp dynamic_cilk.cpp
|
|
ISPC_SRC=kernels.ispc
|
|
ISPC_TARGETS=sse2,sse4-x2,avx-x2
|
|
ISPC_FLAGS=--opt=fast-math
|
|
|
|
include ../common.mk
|