Sha256: 1eae0371c6a73439a8e79b012d3d0c48aa3e5b1d8d18bcdf0432c79b3b261695
Contents?: true
Size: 574 Bytes
Versions: 44
Compression:
Stored size: 574 Bytes
Contents
CFLAGS = -std=c99 CFLAGS += -g CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -pedantic CFLAGS += -Werror VFLAGS = --quiet VFLAGS += --tool=memcheck VFLAGS += --leak-check=full VFLAGS += --error-exitcode=1 test: tests.out @./tests.out memcheck: tests.out @valgrind $(VFLAGS) ./tests.out @echo "Memory check passed" clean: rm -rf *.o *.out *.out.dSYM tests.out: test/test_collatz_conjecture.c src/collatz_conjecture.c src/collatz_conjecture.h @echo Compiling $@ @cc $(CFLAGS) src/collatz_conjecture.c test/vendor/unity.c test/test_collatz_conjecture.c -o tests.out
Version data entries
44 entries across 44 versions & 1 rubygems