blob: 0757dda879efee5d9e05fdcb05369f5e03f59acb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
.PHONY: clean
CC = clang
CXX = clang++
CXXFLAGS = -fsanitize=address,undefined -g -O2 -std=c++11 -I ../../deps/miniz
CFLAGS = -fsanitize=address,undefined -g -O2 -I ../../deps/miniz
all: tester
miniz.o:
$(CC) -c $(CFLAGS) ../../deps/miniz/miniz.c
tester: tester.cc ../../tinyexr.h miniz.o
$(CXX) $(CXXFLAGS) -o tester tester.cc miniz.o
check: tester
./tester
clean:
rm -rf tester miniz.o
|