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.
|
.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
|
|
|