🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
437 B

  1. #CXX ?= clang++
  2. #CXXFLAGS ?= -fsanitize=address -Werror -Wall -Wextra -g -O0 -DTINYEXR_USE_MINIZ=0 -DTINYEXR_USE_PIZ=0
  3. #LDFLAGS ?= -lz
  4. CXX=x86_64-w64-mingw32-g++
  5. # ZFP
  6. #CXXFLAGS += -DTINYEXR_USE_ZFP=1 -I./deps/ZFP/inc
  7. #LDFLAGS += -L./deps/ZFP/lib -lzfp
  8. all:
  9. $(CC) $(CFLAGS) -c ./deps/miniz/miniz.c
  10. $(CXX) $(CXXFLAGS) -I./deps/miniz -o test_tinyexr test_tinyexr.cc miniz.o $(LDFLAGS)
  11. test:
  12. ./test_tinyexr asakusa.exr
  13. .PHONY: test