diff options
Diffstat (limited to 'Build/source/utils/asymptote/cudareflect/tinyexr/Makefile')
-rw-r--r-- | Build/source/utils/asymptote/cudareflect/tinyexr/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/cudareflect/tinyexr/Makefile b/Build/source/utils/asymptote/cudareflect/tinyexr/Makefile new file mode 100644 index 00000000000..8e54d7ede21 --- /dev/null +++ b/Build/source/utils/asymptote/cudareflect/tinyexr/Makefile @@ -0,0 +1,25 @@ +#CXX ?= clang++ +#CXXFLAGS ?= -fsanitize=address -Werror -Wall -Wextra -g -O0 -DTINYEXR_USE_MINIZ=0 -DTINYEXR_USE_PIZ=0 +#LDFLAGS ?= -lz + +# ZFP +#CXXFLAGS += -DTINYEXR_USE_ZFP=1 -I./deps/ZFP/inc +#LDFLAGS += -L./deps/ZFP/lib -lzfp + +CFLAGS += -I./deps/miniz +CXXFLAGS += -I./deps/miniz + +.PHONY: test clean + +all: miniz.o + $(CXX) $(CXXFLAGS) -o test_tinyexr test_tinyexr.cc miniz.o $(LDFLAGS) + +miniz.o: + $(CC) $(CFLAGS) -c ./deps/miniz/miniz.c + +test: + ./test_tinyexr asakusa.exr + +clean: + rm -rf test_tinyexr miniz.o + |