Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Added COVERAGE flag
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlucas committed Aug 16, 2015
1 parent 63413bd commit e30842b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
.PHONY: all check-env clean


CC := clang
CFLAGS = -std=c++11 -Wall -fPIC --coverage
CFLAGS = -std=c++11 -Wall -fPIC

ifdef COVERAGE
CC = gcc
CFLAGS += --coverage
endif

SRC_DIR=$(CURDIR)/lib/src
TARGETS=$(wildcard $(SRC_DIR)/*.cc)
Expand Down

0 comments on commit e30842b

Please sign in to comment.