Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103782597
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Mar 4, 18:03
Size
663 B
Mime Type
text/x-makefile
Expires
Thu, Mar 6, 18:03 (2 d)
Engine
blob
Format
Raw Data
Handle
24664281
Attached To
rCGPHPC CG-PHPC
Makefile
View Options
CC=gcc
LD=${CC}
CMOCKA_ROOT = /home/vkeller/Dropbox/CMOCKA/cmocka/cmocka-release
COVFLAGS = -fprofile-arcs -ftest-coverage
CFLAGS+=-Wall -Werror -pedantic -O3 -fopenmp -I${CMOCKA_ROOT}/include -fPIC ${COVFLAGS} -Wfatal-errors -g
LDFLAGS+=-lm -fopenmp -L${CMOCKA_ROOT}/lib -lcmocka ${COVFLAGS} -g
OBJS=blas.o cg.o cg_blas.o
all: conjugategradient
conjugategradient: $(OBJS)
$(LD) $(OBJS) $(LDFLAGS) -o $@
#coverage study
coverage:
./conjugategradient
gcov *.c
lcov --capture --directory . --output-file coverage.info
genhtml coverage.info --output-directory out_html
clean:
rm -Rf conjugategradient *.o *~ *.gcda *.gcov *.gcno out_html coverage.info
Event Timeline
Log In to Comment