Sha256: f36ffbead408cd2609230836af6eeb44c6e3bb621e13efae5bee61ac55892295
Contents?: true
Size: 558 Bytes
Versions: 44
Compression:
Stored size: 558 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_perfect_numbers.c src/perfect_numbers.c src/perfect_numbers.h @echo Compiling $@ @cc $(CFLAGS) src/perfect_numbers.c test/vendor/unity.c test/test_perfect_numbers.c -o tests.out
Version data entries
44 entries across 44 versions & 1 rubygems