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

28 lines
569 B

INC_DIR = -I../../ -I../common -I ../../deps/miniz
INCLUDES := ../../tinyexr.h
OBJS := miniz.o tinyexr.o cube2longlat.o
CFLAGS := -fsanitize=address -O2
CXXFLAGS := $(CFLAGS) -std=c++11
LDFLAGS := -fsanitize=address
TARGET=cube2longlat
all: $(TARGET)
$(TARGET): $(OBJS)
$(CXX) -o $(TARGET) $(LDFLAGS) $(OBJS)
miniz.o: ../../deps/miniz/miniz.c
$(CC) $(CFLAGS) -c $(INC_DIR) $<
tinyexr.o: ../../tinyexr.cc
$(CXX) $(CXXFLAGS) -c $(INC_DIR) $<
cube2longlat.o: cube2longlat.cc
$(CXX) $(CXXFLAGS) -c $(INC_DIR) $<
.PHONY: clean
clean:
rm -rf $(TARGET) $(OBJS)