| File Makefile changed (mode: 100644) (index 2c88d09..529137b) |
| ... |
... |
CXXFLAGS += -Wno-non-template-friend -include config.h |
| 3 |
3 |
LDFLAGS += $(ld_extra) -g -lsqlite3 -lgit2 -lsource-highlight -lz |
LDFLAGS += $(ld_extra) -g -lsqlite3 -lgit2 -lsource-highlight -lz |
| 4 |
4 |
LDFLAGS += -lboost_filesystem -lboost_iostreams -lboost_program_options |
LDFLAGS += -lboost_filesystem -lboost_iostreams -lboost_program_options |
| 5 |
5 |
|
|
|
6 |
|
# this allows customizing which g++ gets called to work around mismatch between |
|
7 |
|
# gcc and gcov versions that cause a failure in tests due to incompatible |
|
8 |
|
# formats |
|
9 |
|
GXX ?= g++ |
|
10 |
|
|
| 6 |
11 |
INSTALL := install -D |
INSTALL := install -D |
| 7 |
12 |
|
|
| 8 |
13 |
PREFIX := /usr |
PREFIX := /usr |
| |
| ... |
... |
check: $(target) $(out_dir)/tests/tests tests/test-repo-gcno/test-repo-gcno \ |
| 189 |
194 |
tests/test-repo-gcno/test-repo-gcno: tests/test-repo-gcno/main.cpp |
tests/test-repo-gcno/test-repo-gcno: tests/test-repo-gcno/main.cpp |
| 190 |
195 |
# this must always be compiled with GCC for gcov to be able to process |
# this must always be compiled with GCC for gcov to be able to process |
| 191 |
196 |
# output files (need a separate variable for it?) |
# output files (need a separate variable for it?) |
| 192 |
|
cd tests/test-repo-gcno/ && g++ --coverage -o test-repo-gcno main.cpp |
|
|
197 |
|
cd tests/test-repo-gcno/ && $(GXX) --coverage -o test-repo-gcno main.cpp |
| 193 |
198 |
|
|
| 194 |
199 |
install: release |
install: release |
| 195 |
200 |
$(INSTALL) -t $(DESTDIR)$(PREFIX)/bin/ $(bin) $(webbin) uncov-gcov |
$(INSTALL) -t $(DESTDIR)$(PREFIX)/bin/ $(bin) $(webbin) uncov-gcov |