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

21 lines
400 B

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