Sha256: 042c4517c6e8bc34a08b56c734c910d967ed9a3558ba2a1886203e6f9fa94308
Contents?: true
Size: 532 Bytes
Versions: 63
Compression:
Stored size: 532 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_nth_prime.c src/nth_prime.c src/nth_prime.h @echo Compiling $@ @$(CC) $(CFLAGS) src/nth_prime.c test/vendor/unity.c test/test_nth_prime.c -o tests.out
Version data entries
63 entries across 63 versions & 1 rubygems