diff options
Diffstat (limited to 'Build/source/utils/asymptote/cudareflect/tinyexr/examples/exr2fptiff/Makefile')
-rw-r--r-- | Build/source/utils/asymptote/cudareflect/tinyexr/examples/exr2fptiff/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/cudareflect/tinyexr/examples/exr2fptiff/Makefile b/Build/source/utils/asymptote/cudareflect/tinyexr/examples/exr2fptiff/Makefile new file mode 100644 index 00000000000..68789d2009d --- /dev/null +++ b/Build/source/utils/asymptote/cudareflect/tinyexr/examples/exr2fptiff/Makefile @@ -0,0 +1,32 @@ + +CXX=clang++ +CC=clang + +CFLAGS = -fsanitize=address -Weverything -Wno-padded -g -O2 -I../../ -I../../deps/miniz +CXXFLAGS = -std=c++11 -Wno-c++98-compat -Wno-variadic-macros $(CFLAGS) +LDFLAGS = -fsanitize=address + +# ZFP +#CXXFLAGS += -DTINYEXR_USE_ZFP=1 -I/home/syoyo/work/zfp/include +#LDFLAGS += -L/home/syoyo/work/zfp/build/lib -lzfp + + +all: exr2fptiff + +exr2fptiff: exr2fptiff.o tinyexr.o miniz.o + $(CXX) -o $@ $^ $(LDFLAGS) + +exr2fptiff.o: exr2fptiff.cc tiny_dng_writer.h + $(CXX) $(CXXFLAGS) -c -o $@ $< + +tinyexr.o: ../../tinyexr.cc + $(CXX) $(CXXFLAGS) -c -o $@ $< + +miniz.o: ../../deps/miniz/miniz.c + $(CC) $(CFLAGS) -c $(INC_DIR) $< + +.PHONY: clean + + +clean: + rm -rf tinyexr.o exr2fptiff.o |