File: Makefile

package info (click to toggle)
tinyexr 1.0.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,184 kB
  • sloc: cpp: 12,562; makefile: 110; sh: 18; ansic: 15
file content (21 lines) | stat: -rw-r--r-- 400 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.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