Skip to content
Snippets Groups Projects
Commit f6e285c2 authored by WALTER NOA's avatar WALTER NOA
Browse files

0

parent 1b3bc3b6
No related merge requests found
Pipeline #294597 passed with stages
in 27 seconds
This diff is collapsed.
CC=gcc
CFLAGS=-Wall -Wextra
LDLIBS=-lcheck -lsubunit -lm
OBJS=interval test_interval
all: test_interval
test_interval: $(OBJS:%=%.o)
test: test_interval
./test_interval
# easy rider: re-use this makefile with different options
coverage:
$(MAKE) CFLAGS="$(CFLAGS) --coverage" LDFLAGS="--coverage" clean all
./test_interval
gcov interval.c
doc:
doxygen -x Doxyfile
doxygen Doxyfile
clean:
rm -f $(OBJS:%=%.o) test_interval
rm -f $(OBJS:%=%.gcno) $(OBJS:%=%.gcda) interval.c.gcov
rm -rf html
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment