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

  1. INC_DIR = -I../../ -I../common -I ../../deps/miniz
  2. INCLUDES := ../../tinyexr.h
  3. OBJS := miniz.o tinyexr.o cube2longlat.o
  4. CFLAGS := -fsanitize=address -O2
  5. CXXFLAGS := $(CFLAGS) -std=c++11
  6. LDFLAGS := -fsanitize=address
  7. TARGET=cube2longlat
  8. all: $(TARGET)
  9. $(TARGET): $(OBJS)
  10. $(CXX) -o $(TARGET) $(LDFLAGS) $(OBJS)
  11. miniz.o: ../../deps/miniz/miniz.c
  12. $(CC) $(CFLAGS) -c $(INC_DIR) $<
  13. tinyexr.o: ../../tinyexr.cc
  14. $(CXX) $(CXXFLAGS) -c $(INC_DIR) $<
  15. cube2longlat.o: cube2longlat.cc
  16. $(CXX) $(CXXFLAGS) -c $(INC_DIR) $<
  17. .PHONY: clean
  18. clean:
  19. rm -rf $(TARGET) $(OBJS)