|
|
- #CXX ?= clang++
- #CXXFLAGS ?= -fsanitize=address -Werror -Wall -Wextra -g -O0 -DTINYEXR_USE_MINIZ=0 -DTINYEXR_USE_PIZ=0
- #LDFLAGS ?= -lz
-
- CXX=g++
- # -municode is not yet implemented
- CXXFLAGS=-DUNICODE -D_UNICODE -mwindows
-
- all:
- $(CC) $(CFLAGS) -I./deps/miniz ./deps/miniz.c
- $(CXX) $(CXXFLAGS) -I./deps/miniz -o test_tinyexr test_tinyexr.cc miniz.o $(LDFLAGS)
-
- test:
- ./test_tinyexr asakusa.exr
-
- .PHONY: test
|