summaryrefslogtreecommitdiff
path: root/graphics/asymptote/cudareflect/tinyexr/Makefile.gcc-mingw-msys
blob: 28af0e89aea74fa7e4a1f402315fd1a0980ea7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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