🛠️🐜 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.
 
 
 
 
 
 

32 lines
687 B

CXX=clang++
CC=clang
CFLAGS = -fsanitize=address -Weverything -Wno-padded -g -O2 -I../../ -I../../deps/miniz
CXXFLAGS = -std=c++11 -Wno-c++98-compat -Wno-variadic-macros $(CFLAGS)
LDFLAGS = -fsanitize=address
# ZFP
#CXXFLAGS += -DTINYEXR_USE_ZFP=1 -I/home/syoyo/work/zfp/include
#LDFLAGS += -L/home/syoyo/work/zfp/build/lib -lzfp
all: exr2fptiff
exr2fptiff: exr2fptiff.o tinyexr.o miniz.o
$(CXX) -o $@ $^ $(LDFLAGS)
exr2fptiff.o: exr2fptiff.cc tiny_dng_writer.h
$(CXX) $(CXXFLAGS) -c -o $@ $<
tinyexr.o: ../../tinyexr.cc
$(CXX) $(CXXFLAGS) -c -o $@ $<
miniz.o: ../../deps/miniz/miniz.c
$(CC) $(CFLAGS) -c $(INC_DIR) $<
.PHONY: clean
clean:
rm -rf tinyexr.o exr2fptiff.o